Sha256: fec373c03833368da9fad89f4cee7bbf90a7ad56df988916d8827d04ae792a7d
Contents?: true
Size: 426 Bytes
Versions: 3
Compression:
Stored size: 426 Bytes
Contents
module IqSMS class Response class SendSms < Response attr_reader :statuses def initialize(original_response) super @statuses = Array(@hash[:messages]).map do |hash_message| MessageStatus.new( status: hash_message[:status], client_id: hash_message[:client_id], smsc_id: hash_message[:smsc_id] ) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iqsms-0.2.2 | lib/iqsms/response/send_sms.rb |
iqsms-0.2.1 | lib/iqsms/response/send_sms.rb |
iqsms-0.2.0 | lib/iqsms/response/send_sms.rb |