Class: ActiveShipping::StampsCleanseAddressResponse
- Defined in:
- lib/active_shipping/carriers/stamps.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#address_match ⇒ Object
(also: #address_match?)
readonly
Returns the value of attribute address_match.
-
#candidate_addresses ⇒ Object
readonly
Returns the value of attribute candidate_addresses.
-
#city_state_zip_ok ⇒ Object
(also: #city_state_zip_ok?)
readonly
Returns the value of attribute city_state_zip_ok.
-
#cleanse_hash ⇒ Object
readonly
Returns the value of attribute cleanse_hash.
-
#override_hash ⇒ Object
readonly
Returns the value of attribute override_hash.
Attributes inherited from Response
#message, #params, #request, #test, #xml
Instance Method Summary collapse
-
#initialize(success, message, params = {}, options = {}) ⇒ StampsCleanseAddressResponse
constructor
A new instance of StampsCleanseAddressResponse.
Methods inherited from Response
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, , params = {}, = {}) super @address = [:address] @address_match = [:address_match] @city_state_zip_ok = [:city_state_zip_ok] @candidate_addresses = [:candidate_addresses] @cleanse_hash = [:cleanse_hash] @override_hash = [:override_hash] end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
812 813 814 |
# File 'lib/active_shipping/carriers/stamps.rb', line 812 def address @address end |
#address_match ⇒ Object (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_addresses ⇒ Object (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_ok ⇒ Object (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_hash ⇒ Object (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_hash ⇒ Object (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 |