Class: SmsAero2::HlrResult
Instance Attribute Summary
Attributes inherited from Result
Instance Method Summary collapse
Methods inherited from Result
#data, #initialize, #reason, #success?
Constructor Details
This class inherits a constructor from SmsAero2::Result
Instance Method Details
#id ⇒ Object
3 4 5 |
# File 'lib/sms_aero2/hlr_result.rb', line 3 def id data.fetch('id') end |
#status ⇒ Object
7 8 9 |
# File 'lib/sms_aero2/hlr_result.rb', line 7 def status statuses[data.fetch('hlrStatus') - 1] end |