Exception: HmxClient::HmxException

Inherits:
Exception
  • Object
show all
Defined in:
lib/hmx/hmx.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#msgObject (readonly)

Returns the value of attribute msg.



11
12
13
# File 'lib/hmx/hmx.rb', line 11

def msg
  @msg
end