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