Class: ActionWebService::Client::Base
- Defined in:
- lib/action_web_service/client/base.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(api, endpoint_uri) ⇒ Base
constructor
A new instance of Base.
-
#method_missing(name, *args) ⇒ Object
:nodoc:.
Constructor Details
#initialize(api, endpoint_uri) ⇒ Base
Returns a new instance of Base.
7 8 9 10 |
# File 'lib/action_web_service/client/base.rb', line 7 def initialize(api, endpoint_uri) @api = api @endpoint_uri = endpoint_uri end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
:nodoc:
12 13 14 15 16 |
# File 'lib/action_web_service/client/base.rb', line 12 def method_missing(name, *args) # :nodoc: call_name = method_name(name) return super(name, *args) if call_name.nil? self.perform_invocation(call_name, args) end |