Exception: YammerApi::Errors::Error
- Inherits:
-
StandardError
- Object
- StandardError
- YammerApi::Errors::Error
- Defined in:
- lib/yammer_api/errors.rb
Direct Known Subclasses
BadGateway, BadRequest, Forbidden, InternalServerError, NotAcceptable, NotFound, 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.
5 6 7 8 |
# File 'lib/yammer_api/errors.rb', line 5 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
4 5 6 |
# File 'lib/yammer_api/errors.rb', line 4 def data @data end |