Exception: Mangadex::Errors::AuthenticationError
- Inherits:
-
StandardError
- Object
- StandardError
- StandardError
- Mangadex::Errors::AuthenticationError
- Defined in:
- lib/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
- #message ⇒ Object
Constructor Details
#initialize(response) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
25 26 27 |
# File 'lib/errors.rb', line 25 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
22 23 24 |
# File 'lib/errors.rb', line 22 def response @response end |
Instance Method Details
#message ⇒ Object
30 31 32 |
# File 'lib/errors.rb', line 30 def "Your username or password may not be correct." end |