Sha256: eafe5eb4c9ae3a3bac265a85ac82260b4e3e6d70c9fbe52106045189a58ec937

Contents?: true

Size: 329 Bytes

Versions: 5

Compression:

Stored size: 329 Bytes

Contents

module ActiveMerchant
  module Shipping
    class Party
      attr_accessor :location
      attr_accessor :contact
      attr_accessor :account_number

      def initialize(attrs = {})
        attrs.each do |key, value|
          self.send("#{key}=", value) if self.respond_to?("#{key}=")
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_shipping-0.1.4 lib/active_shipping/shipping/party.rb
active_shipping-0.1.3 lib/active_shipping/shipping/party.rb
active_shipping-0.1.2 lib/active_shipping/shipping/party.rb
active_shipping-0.1.1 lib/active_shipping/shipping/party.rb
active_shipping-0.1.0 lib/active_shipping/shipping/party.rb