Class: CheckIssuing::Client
- Defined in:
- lib/check_issuing/client.rb
Instance Method Summary collapse
- #base_path ⇒ Object
- #call(relative_path, data = nil, options = {}) ⇒ Object
-
#initialize ⇒ Client
constructor
A new instance of Client.
Methods inherited from Request
#delete, #get, #parsed_response, #post, #put, #response
Constructor Details
#initialize ⇒ Client
Returns a new instance of Client.
4 5 |
# File 'lib/check_issuing/client.rb', line 4 def initialize end |
Instance Method Details
#base_path ⇒ Object
7 8 9 |
# File 'lib/check_issuing/client.rb', line 7 def base_path '' end |
#call(relative_path, data = nil, options = {}) ⇒ Object
11 12 13 |
# File 'lib/check_issuing/client.rb', line 11 def call(relative_path, data = nil, = {}) self.post(base_path+relative_path, .reverse_merge(body: data)) end |