Module: Leadcli::ApiCall

Included in:
Lead
Defined in:
lib/leadcli/api_call.rb

Instance Method Summary collapse

Instance Method Details

#api_call(endpoint, options = {}) ⇒ Object



3
4
5
6
# File 'lib/leadcli/api_call.rb', line 3

def api_call(endpoint, options={})
  api_caller = Leadcli::ApiCaller.new(endpoint, options)
  api_caller.call(self)
end