class Messagemedia::SOAP::Recipient
This class is a light-weight wrapper around the Recipient
structure used by the MessageMedia SoapClient interface.
Attributes
destination_number[RW]
message_id[RW]
Public Class Methods
new(message_id, destination_number)
click to toggle source
Initialize an empty Recipient
object.
This object represents a single recipient of a message, and allows an optional message ID (message_id
) to be assigned to the message that will be sent to that recipient.
A destination number (destination_number
) must be provided
# File lib/messagemedia/soap/recipient.rb, line 20 def initialize(message_id, destination_number) @message_id = message_id @destination_number = destination_number end