Class: ActiveShipping::StampsCleanseAddressResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/active_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.



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

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.



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

def address
  @address
end

#address_matchObject (readonly) Also known as: address_match?

Returns the value of attribute address_match.



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

def address_match
  @address_match
end

#candidate_addressesObject (readonly)

Returns the value of attribute candidate_addresses.



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

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.



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

def city_state_zip_ok
  @city_state_zip_ok
end

#cleanse_hashObject (readonly)

Returns the value of attribute cleanse_hash.



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

def cleanse_hash
  @cleanse_hash
end

#override_hashObject (readonly)

Returns the value of attribute override_hash.



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

def override_hash
  @override_hash
end