Class: WEB_API::ClientMethod
- Inherits:
-
WebApiMethod
- Object
- WebApiMethod
- WEB_API::ClientMethod
- Defined in:
- lib/web_api/client.rb
Direct Known Subclasses
Constant Summary
Constants inherited from WebApiMethod
WebApiMethod::OK, WebApiMethod::SCHEMES, WebApiMethod::SSL, WebApiMethod::TYPES
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Attributes inherited from WebApiMethod
Instance Method Summary collapse
- #http ⇒ Object
-
#initialize(client, *args) ⇒ ClientMethod
constructor
A new instance of ClientMethod.
Methods inherited from WebApiMethod
#arg_map, #args_map, #call, #escape, #get, #headers, #kv_map, #parse, #pathquery, #post
Constructor Details
#initialize(client, *args) ⇒ ClientMethod
5 6 7 8 |
# File 'lib/web_api/client.rb', line 5 def initialize(client, *args) @client = client super(*args) end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
4 5 6 |
# File 'lib/web_api/client.rb', line 4 def client @client end |
Instance Method Details
#http ⇒ Object
10 11 12 |
# File 'lib/web_api/client.rb', line 10 def http @client end |