class FastSpring::Address

Attributes

address_line_1[R]
address_line_2[R]
city[R]
country[R]
postal_code[R]
region[R]
region_custom[R]

Public Class Methods

new(options) click to toggle source
# File lib/fastspring-saasy/address.rb, line 6
def initialize(options)
  @address_line_1 = options.fetch('addressLine1')
  @address_line_2 = options.fetch('addressLine2')
  @city = options.fetch('city')
  @region = options.fetch('region')
  @region_custom = options.fetch('regionCustom')
  @postal_code = options.fetch('postalCode')
  @country = options.fetch('country')
end