Exception: WineBouncer::Errors::OAuthForbiddenError
- Inherits:
-
StandardError
- Object
- StandardError
- WineBouncer::Errors::OAuthForbiddenError
- Defined in:
- lib/wine_bouncer/errors.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ OAuthForbiddenError
constructor
A new instance of OAuthForbiddenError.
Constructor Details
#initialize(response) ⇒ OAuthForbiddenError
Returns a new instance of OAuthForbiddenError.
17 18 19 20 |
# File 'lib/wine_bouncer/errors.rb', line 17 def initialize(response) super(response.try(:description)) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
16 17 18 |
# File 'lib/wine_bouncer/errors.rb', line 16 def response @response end |