Exception: Fabulous::AuthenticationError
- Defined in:
- lib/fabulous/errors.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code = nil) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(message, code = nil) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
11 12 13 14 |
# File 'lib/fabulous/errors.rb', line 11 def initialize(, code = nil) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
9 10 11 |
# File 'lib/fabulous/errors.rb', line 9 def code @code end |