Exception: OmniAuth::Strategies::Flickr::CallbackError
- Inherits:
-
StandardError
- Object
- StandardError
- OmniAuth::Strategies::Flickr::CallbackError
- Defined in:
- lib/generators/gunnertechnology/project/templates/config/initializers/omniauth.rb
Overview
error catching, based on OAuth2 callback
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#error_reason ⇒ Object
Returns the value of attribute error_reason.
Instance Method Summary collapse
-
#initialize(error, error_reason) ⇒ CallbackError
constructor
A new instance of CallbackError.
Constructor Details
#initialize(error, error_reason) ⇒ CallbackError
Returns a new instance of CallbackError.
16 17 18 19 |
# File 'lib/generators/gunnertechnology/project/templates/config/initializers/omniauth.rb', line 16 def initialize(error, error_reason) self.error = error self.error_reason = error_reason end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
15 16 17 |
# File 'lib/generators/gunnertechnology/project/templates/config/initializers/omniauth.rb', line 15 def error @error end |
#error_reason ⇒ Object
Returns the value of attribute error_reason.
15 16 17 |
# File 'lib/generators/gunnertechnology/project/templates/config/initializers/omniauth.rb', line 15 def error_reason @error_reason end |