Exception: Marlens::HarvestApiV2::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Marlens::HarvestApiV2::Error
- Defined in:
- lib/marlens/harvest_api_v2/error.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status = nil, message = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(status = nil, message = nil) ⇒ Error
Returns a new instance of Error.
8 9 10 11 |
# File 'lib/marlens/harvest_api_v2/error.rb', line 8 def initialize(status = nil, = nil) @status = ? status : nil super( || status) end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
6 7 8 |
# File 'lib/marlens/harvest_api_v2/error.rb', line 6 def status @status end |