Exception: Makeleaps::APIError
- Defined in:
- lib/makeleaps/errors.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, status = nil) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(message, status = nil) ⇒ APIError
Returns a new instance of APIError.
7 8 9 10 |
# File 'lib/makeleaps/errors.rb', line 7 def initialize(, status=nil) super() @status = status end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
5 6 7 |
# File 'lib/makeleaps/errors.rb', line 5 def status @status end |