Exception: Txbr::BrazeApiError
- Inherits:
-
StandardError
- Object
- StandardError
- Txbr::BrazeApiError
- Defined in:
- lib/txbr.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(message, status_code) ⇒ BrazeApiError
constructor
A new instance of BrazeApiError.
Constructor Details
#initialize(message, status_code) ⇒ BrazeApiError
Returns a new instance of BrazeApiError.
29 30 31 32 |
# File 'lib/txbr.rb', line 29 def initialize(, status_code) super() @status_code = status_code end |
Instance Attribute Details
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
27 28 29 |
# File 'lib/txbr.rb', line 27 def status_code @status_code end |