Sha256: 9420e64449969d54b11ed0c9c6e823931e2138474442e42c005281d6b6433c98

Contents?: true

Size: 868 Bytes

Versions: 2

Compression:

Stored size: 868 Bytes

Contents

module Messagemedia

    module SOAP

        #
        # This class is a light-weight wrapper around the Recipient structure used
        # by the MessageMedia SoapClient interface.
        #
        class Recipient

            attr_accessor :message_id, :destination_number

            #
            # 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
            #
            def initialize(message_id, destination_number)
                @message_id = message_id
                @destination_number = destination_number
            end

        end
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
messagemedia-soap-0.6.6 lib/messagemedia/soap/recipient.rb
messagemedia-soap-0.6.5 lib/messagemedia/soap/recipient.rb