Class: Hubspot::Base

Inherits:
HttpRequest show all
Defined in:
lib/hubspot.rb

Constant Summary

Constants inherited from HttpRequest

HttpRequest::BASE_URL

Instance Attribute Summary

Attributes inherited from HttpRequest

#http, #uri

Attributes inherited from Object

#result

Instance Method Summary collapse

Methods inherited from HttpRequest

#get, #initialize, #post

Methods inherited from Object

call, #call, #constructor, #errors, #failure?, #success?

Constructor Details

This class inherits a constructor from Hubspot::HttpRequest

Instance Method Details

#send(verb = :get, url, options) ⇒ Object



41
42
43
# File 'lib/hubspot.rb', line 41

def send(verb = :get, url, options)
  self.method(verb).call(url, options)
end