Sha256: bd681f3e1aa052791a18ad84271a836e0419e8a27e913c6ae604917f95644ea6
Contents?: true
Size: 609 Bytes
Versions: 10
Compression:
Stored size: 609 Bytes
Contents
module Clickatell class API class MessageStatus 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' } def self.[](code) STATUS_MAP[code] end end end end
Version data entries
10 entries across 10 versions & 4 rubygems