Class: CheckIssuing::Client

Inherits:
Request
  • Object
show all
Defined in:
lib/check_issuing/client.rb

Instance Method Summary collapse

Methods inherited from Request

#delete, #get, #parsed_response, #post, #put, #response

Constructor Details

#initializeClient

Returns a new instance of Client.



4
5
# File 'lib/check_issuing/client.rb', line 4

def initialize
end

Instance Method Details

#base_pathObject



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, options = {})
  self.post(base_path+relative_path, options.reverse_merge(body: data))
end