Class: Clickatell::API::MessageStatus
- Inherits:
-
Object
- Object
- Clickatell::API::MessageStatus
- Defined in:
- lib/clickatell/api/message_status.rb
Constant Summary collapse
- STATUS_MAP =
{ '001' => 'Message unknown', '002' => 'Message queued', '003' => 'Delivered to gateway', '004' => 'Received by recipient', '005' => 'Error with message', '006' => 'User cancelled messaged delivery', '007' => 'Error delivering message', '008' => 'OK', '009' => 'Routing error', '010' => 'Message expired', '011' => 'Message queued for later delivery', '012' => 'Out of credit' }
Class Method Summary collapse
Class Method Details
.[](code) ⇒ Object
20 21 22 |
# File 'lib/clickatell/api/message_status.rb', line 20 def self.[](code) STATUS_MAP[code] end |