Exception: Untappd::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Untappd::Error
- Defined in:
- lib/untappd-api/error.rb
Direct Known Subclasses
BadGateway, BadRequest, GatewayTimeout, General, InternalError, NotFound, Unauthorized, Unavailable
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
2 3 4 |
# File 'lib/untappd-api/error.rb', line 2 def code @code end |
#detail ⇒ Object
Returns the value of attribute detail.
2 3 4 |
# File 'lib/untappd-api/error.rb', line 2 def detail @detail end |
#type ⇒ Object
Returns the value of attribute type.
2 3 4 |
# File 'lib/untappd-api/error.rb', line 2 def type @type end |