Class: WEB_API::ClientMethod

Inherits:
WebApiMethod show all
Defined in:
lib/web_api/client.rb

Direct Known Subclasses

SignetMethod

Constant Summary

Constants inherited from WebApiMethod

WebApiMethod::OK, WebApiMethod::SCHEMES, WebApiMethod::SSL, WebApiMethod::TYPES

Instance Attribute Summary collapse

Attributes inherited from WebApiMethod

#base, #path, #type, #uri

Instance Method Summary collapse

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

#clientObject (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

#httpObject



10
11
12
# File 'lib/web_api/client.rb', line 10

def http
  @client
end