Exception: Hubspot::Mailer::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- Hubspot::Mailer::RequestError
- Defined in:
- lib/hubspot/mailer/exceptions.rb
Direct Known Subclasses
DeliveryError, InvalidTemplateError, RecipientAddressError, SenderAddressError, SendingError, UnknownResponseError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(response = nil) ⇒ RequestError
Returns a new instance of RequestError.
9 10 11 |
# File 'lib/hubspot/mailer/exceptions.rb', line 9 def initialize(response = nil) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
7 8 9 |
# File 'lib/hubspot/mailer/exceptions.rb', line 7 def response @response end |