Sha256: 9bcb519b803d8014e4fa2cb2a65873e9ae7af03f3a1561d4c978ff2423aa07cc
Contents?: true
Size: 192 Bytes
Versions: 3
Compression:
Stored size: 192 Bytes
Contents
module SmsAero::HlrStatus extend SmsAero::Callable def self.new(value) case value.to_i when 1 then :available when 2 then :unavailable else :nonexistent end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sms_aero-0.2.0 | lib/sms_aero/hlr_status.rb |
sms_aero-0.1.3 | lib/sms_aero/hlr_status.rb |
sms_aero-0.1.2 | lib/sms_aero/hlr_status.rb |