Sha256: 252d0b3495e8ed922796099c0fefe10461de0be5f16d290ba48054c51e23d356
Contents?: true
Size: 966 Bytes
Versions: 2
Compression:
Stored size: 966 Bytes
Contents
module GovDelivery::TMS #:nodoc: # An SMSMessage is used to create and send a text message to a collection of Recipient # objects. # # # @attr body [String] The content of the SMS. This field will be truncated to 160 characters. # # @example # sms = client.sms_messages.build(:body => "Hello") # sms.recipients.build(:phone => "+18001002000") # sms.post # sms.get class SmsMessage include InstanceResource # @!parse attr_accessor :body writeable_attributes :body # @!parse attr_reader :created_at, :completed_at, :status readonly_attributes :created_at, :completed_at, :status ## # A CollectionResource of Recipient objects collection_attributes :recipients ## # A CollectionResource of Recipients that sent successfully collection_attribute :sent, 'Recipients' ## # A CollectionResource of Recipients that failed collection_attribute :failed, 'Recipients' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
govdelivery-tms-0.8.2 | lib/govdelivery/tms/resource/sms_message.rb |
govdelivery-tms-0.8.1 | lib/govdelivery/tms/resource/sms_message.rb |