Class: ActiveMerchant::Shipping::StampsCleanseAddressResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/active_shipping/shipping/carriers/stamps.rb

Instance Attribute Summary collapse

Attributes inherited from Response

#message, #params, #request, #test, #xml

Instance Method Summary collapse

Methods inherited from Response

#success?, #test?

Constructor Details

#initialize(success, message, params = {}, options = {}) ⇒ StampsCleanseAddressResponse

Returns a new instance of StampsCleanseAddressResponse


818
819
820
821
822
823
824
825
826
# File 'lib/active_shipping/shipping/carriers/stamps.rb', line 818

def initialize(success, message, params = {}, options = {})
  super
  @address             = options[:address]
  @address_match       = options[:address_match]
  @city_state_zip_ok   = options[:city_state_zip_ok]
  @candidate_addresses = options[:candidate_addresses]
  @cleanse_hash        = options[:cleanse_hash]
  @override_hash       = options[:override_hash]
end

Instance Attribute Details

#addressObject (readonly)

Returns the value of attribute address


813
814
815
# File 'lib/active_shipping/shipping/carriers/stamps.rb', line 813

def address
  @address
end

#address_matchObject (readonly) Also known as: address_match?

Returns the value of attribute address_match


813
814
815
# File 'lib/active_shipping/shipping/carriers/stamps.rb', line 813

def address_match
  @address_match
end

#candidate_addressesObject (readonly)

Returns the value of attribute candidate_addresses


813
814
815
# File 'lib/active_shipping/shipping/carriers/stamps.rb', line 813

def candidate_addresses
  @candidate_addresses
end

#city_state_zip_okObject (readonly) Also known as: city_state_zip_ok?

Returns the value of attribute city_state_zip_ok


813
814
815
# File 'lib/active_shipping/shipping/carriers/stamps.rb', line 813

def city_state_zip_ok
  @city_state_zip_ok
end

#cleanse_hashObject (readonly)

Returns the value of attribute cleanse_hash


813
814
815
# File 'lib/active_shipping/shipping/carriers/stamps.rb', line 813

def cleanse_hash
  @cleanse_hash
end

#override_hashObject (readonly)

Returns the value of attribute override_hash


813
814
815
# File 'lib/active_shipping/shipping/carriers/stamps.rb', line 813

def override_hash
  @override_hash
end