class Postmen::Address

Attributes

city[R]
company_name[R]
contact_name[R]
country[R]
email[R]
fax[R]
phone[R]
postal_code[R]
state[R]
street1[R]
street2[R]
street3[R]
tax_id[R]
type[R]

Public Class Methods

new(options) click to toggle source
# File lib/postmen/address.rb, line 21
def initialize(options)
  @country = options[:country]
  @contact_name = options[:contact_name]
  @phone = options[:phone]
  @fax = options[:fax]
  @email = options[:email]
  @company_name = options[:company_name]
  @street1 = options[:street1]
  @street2 = options[:street2]
  @street3 = options[:street3]
  @city = options[:city]
  @state = options[:state]
  @type = options[:type]
  @postal_code = options[:postal_code]
  @type = options[:type]
  @tax_id = options[:tax_id]
end