Exception: MxitApi::Exception
- Inherits:
-
Exception
- Object
- Exception
- MxitApi::Exception
- Defined in:
- lib/mxit_api/exception.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ Exception
constructor
A new instance of Exception.
Constructor Details
#initialize(message) ⇒ Exception
Returns a new instance of Exception.
4 5 6 7 |
# File 'lib/mxit_api/exception.rb', line 4 def initialize() super() @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
3 4 5 |
# File 'lib/mxit_api/exception.rb', line 3 def @message end |