Sha256: a5694a12cd7bcb777439a8fe7824cb7952ea9bd0d14f3c7c14918545d052d67e

Contents?: true

Size: 424 Bytes

Versions: 5

Compression:

Stored size: 424 Bytes

Contents

module ActiveMerchant
  module Shipping
    class Contact
      attr_accessor :name
      attr_accessor :title
      attr_accessor :company_name
      attr_accessor :phone_number
      attr_accessor :fax_number
      attr_accessor :email_address

      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/contact.rb
active_shipping-0.1.3 lib/active_shipping/shipping/contact.rb
active_shipping-0.1.2 lib/active_shipping/shipping/contact.rb
active_shipping-0.1.1 lib/active_shipping/shipping/contact.rb
active_shipping-0.1.0 lib/active_shipping/shipping/contact.rb