Sha256: 93e96696075c2ab88b34fc08035588873e64bc67593c55155ab408109b52b286

Contents?: true

Size: 697 Bytes

Versions: 2

Compression:

Stored size: 697 Bytes

Contents

module Zenvia
  class SmsStatus < EnumerateIt::Base
    associate_values(
      :queued                 => 100,
      :sent_to_operator       => 110,
      :reception_unavailable  => 111,
      :received_by_mobile     => 120,
      :number_not_covered     => 140,
      :number_inactive        => 145,
      :expired_in_operator    => 150,
      :operator_network_error => 160,
      :rejected_by_operator   => 161,
      :cancelled_by_operator  => 162,
      :bad_message            => 170,
      :bad_number             => 171,
      :blocked                => 130,
      :predictive_cleansing   => 131,
      :international_sending  => 141,
      :unknown_error          => 999
    )
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zenvia-0.0.8 lib/zenvia/sms_status.rb
zenvia-0.0.7 lib/zenvia/sms_status.rb