Class: Doorkeeper::OAuth::Error
- Inherits:
-
Struct
- Object
- Struct
- Doorkeeper::OAuth::Error
- Defined in:
- lib/doorkeeper/oauth/error.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
3 4 5 |
# File 'lib/doorkeeper/oauth/error.rb', line 3 def name @name end |
#state ⇒ Object
Returns the value of attribute state
3 4 5 |
# File 'lib/doorkeeper/oauth/error.rb', line 3 def state @state end |
Instance Method Details
#description ⇒ Object
4 5 6 |
# File 'lib/doorkeeper/oauth/error.rb', line 4 def description I18n.translate name, :scope => [:doorkeeper, :errors, :messages] end |