Class Clickatell::API::MessageStatus
In: lib/clickatell/api/message_status.rb
Parent: Object

Methods

[]  

Constants

STATUS_MAP = { 1 => 'Message unknown', 2 => 'Message queued', 3 => 'Delivered to gateway', 4 => 'Received by recipient', 5 => 'Error with message', 6 => 'User cancelled messaged delivery', 7 => 'Error delivering message', 8 => 'OK', 9 => 'Routing error', 10 => 'Message expired', 11 => 'Message queued for later delivery', 12 => 'Out of credit'

Public Class methods

[Source]

# File lib/clickatell/api/message_status.rb, line 20
      def self.[](code)
        STATUS_MAP[code]
      end

[Validate]