Sha256: 487954f01503b295fce0a3260dcc49ed2586397c504869bae1f20b6759326992
Contents?: true
Size: 953 Bytes
Versions: 6
Compression:
Stored size: 953 Bytes
Contents
module 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
6 entries across 6 versions & 2 rubygems