Exception: DogecoinClient::InvalidMethodError
- Inherits:
-
StandardError
- Object
- StandardError
- DogecoinClient::InvalidMethodError
- Defined in:
- lib/errors/invalid_method_error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(method_name) ⇒ InvalidMethodError
constructor
A new instance of InvalidMethodError.
Constructor Details
#initialize(method_name) ⇒ InvalidMethodError
Returns a new instance of InvalidMethodError.
6 7 8 |
# File 'lib/errors/invalid_method_error.rb', line 6 def initialize(method_name) @message = "#{method_name} is not a valid method." end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
4 5 6 |
# File 'lib/errors/invalid_method_error.rb', line 4 def @message end |