Exception: Doorkeeper::Errors::BaseResponseError
- Inherits:
-
DoorkeeperError
- Object
- StandardError
- DoorkeeperError
- Doorkeeper::Errors::BaseResponseError
- Defined in:
- lib/doorkeeper/errors.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(response) ⇒ BaseResponseError
constructor
A new instance of BaseResponseError.
Methods inherited from DoorkeeperError
Constructor Details
#initialize(response) ⇒ BaseResponseError
Returns a new instance of BaseResponseError.
39 40 41 |
# File 'lib/doorkeeper/errors.rb', line 39 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
37 38 39 |
# File 'lib/doorkeeper/errors.rb', line 37 def response @response end |
Class Method Details
.name_for_response ⇒ Object
43 44 45 |
# File 'lib/doorkeeper/errors.rb', line 43 def self.name_for_response self.name.demodulize.underscore.to_sym end |