Class: KintsugiSDK::Models::Shared::AddressSearchResponse
- Inherits:
-
Object
- Object
- KintsugiSDK::Models::Shared::AddressSearchResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kintsugi_sdk/models/shared/addresssearchresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(address_submitted:, response_address:, verification_status:, enrich_fields:) ⇒ AddressSearchResponse
constructor
A new instance of AddressSearchResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(address_submitted:, response_address:, verification_status:, enrich_fields:) ⇒ AddressSearchResponse
Returns a new instance of AddressSearchResponse.
26 27 28 29 30 31 |
# File 'lib/kintsugi_sdk/models/shared/addresssearchresponse.rb', line 26 def initialize(address_submitted:, response_address:, verification_status:, enrich_fields:) @address_submitted = address_submitted @response_address = response_address @verification_status = verification_status @enrich_fields = enrich_fields end |
Instance Method Details
#==(other) ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/kintsugi_sdk/models/shared/addresssearchresponse.rb', line 34 def ==(other) return false unless other.is_a? self.class return false unless @address_submitted == other.address_submitted return false unless @response_address == other.response_address return false unless @verification_status == other.verification_status return false unless @enrich_fields == other.enrich_fields true end |