Exception: SabreDevStudio::Error
- Inherits:
-
StandardError
- Object
- StandardError
- SabreDevStudio::Error
- Defined in:
- lib/sabre_dev_studio/error.rb
Direct Known Subclasses
BadRequest, Forbidden, GatewayTimeout, InternalServerError, NotAcceptable, NotFound, RateLimited, ServiceUnavailable, Unauthorized
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(data) ⇒ Error
Returns a new instance of Error.
4 5 6 |
# File 'lib/sabre_dev_studio/error.rb', line 4 def initialize(data) super(data) end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
3 4 5 |
# File 'lib/sabre_dev_studio/error.rb', line 3 def data @data end |