Exception: HmxClient::HmxException
- Inherits:
-
Exception
- Object
- Exception
- HmxClient::HmxException
- Defined in:
- lib/hmx/hmx.rb
Instance Attribute Summary collapse
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Instance Method Summary collapse
-
#initialize(msg) ⇒ HmxException
constructor
A new instance of HmxException.
Constructor Details
#initialize(msg) ⇒ HmxException
Returns a new instance of HmxException.
12 13 14 |
# File 'lib/hmx/hmx.rb', line 12 def initialize(msg) @msg = msg end |
Instance Attribute Details
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
11 12 13 |
# File 'lib/hmx/hmx.rb', line 11 def msg @msg end |