Class: CleverElements::Proxy
- Inherits:
-
Object
- Object
- CleverElements::Proxy
- Defined in:
- lib/clever_elements/proxy.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#proxy_methods ⇒ Object
readonly
Returns the value of attribute proxy_methods.
-
#response_methods ⇒ Object
readonly
Returns the value of attribute response_methods.
-
#wsdl ⇒ Object
readonly
Returns the value of attribute wsdl.
Instance Method Summary collapse
-
#initialize(client) ⇒ Proxy
constructor
A new instance of Proxy.
Constructor Details
#initialize(client) ⇒ Proxy
Returns a new instance of Proxy.
7 8 9 10 11 12 13 14 |
# File 'lib/clever_elements/proxy.rb', line 7 def initialize client @client = client @wsdl = client.savon.wsdl @proxy_methods = Module.new @response_methods = Module.new build_proxy end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
5 6 7 |
# File 'lib/clever_elements/proxy.rb', line 5 def client @client end |
#proxy_methods ⇒ Object (readonly)
Returns the value of attribute proxy_methods.
5 6 7 |
# File 'lib/clever_elements/proxy.rb', line 5 def proxy_methods @proxy_methods end |
#response_methods ⇒ Object (readonly)
Returns the value of attribute response_methods.
5 6 7 |
# File 'lib/clever_elements/proxy.rb', line 5 def response_methods @response_methods end |
#wsdl ⇒ Object (readonly)
Returns the value of attribute wsdl.
5 6 7 |
# File 'lib/clever_elements/proxy.rb', line 5 def wsdl @wsdl end |