Sha256: 1f35975e825fa1e4db4fc6facbb5d7baf9b783f0793ba20737bab508138f862e

Contents?: true

Size: 750 Bytes

Versions: 5

Compression:

Stored size: 750 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

5 entries across 5 versions & 2 rubygems

Version Path
messagemedia-ruby-0.7.1 lib/messagemedia/soap/recipient.rb
messagemedia-soap-0.6.8.1 lib/messagemedia/soap/recipient.rb
messagemedia-soap-0.6.8 lib/messagemedia/soap/recipient.rb
messagemedia-ruby-0.7.0 lib/messagemedia/soap/recipient.rb
messagemedia-soap-0.6.7 lib/messagemedia/soap/recipient.rb