Exception: HubspotV3::RequestFailedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hubspot_v3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, httparty_response = nil) ⇒ RequestFailedError

Returns a new instance of RequestFailedError.



12
13
14
15
# File 'lib/hubspot_v3.rb', line 12

def initialize(message, httparty_response = nil)
  super(message)
  @httparty_response = httparty_response
end

Instance Attribute Details

#httparty_responseObject (readonly)

Returns the value of attribute httparty_response.



11
12
13
# File 'lib/hubspot_v3.rb', line 11

def httparty_response
  @httparty_response
end