Class: Moov::Models::Components::GovernmentIDErrorItin
- Inherits:
-
Object
- Object
- Moov::Models::Components::GovernmentIDErrorItin
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/governmentiderror_itin.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(full: nil, last_four: nil) ⇒ GovernmentIDErrorItin
constructor
A new instance of GovernmentIDErrorItin.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(full: nil, last_four: nil) ⇒ GovernmentIDErrorItin
Returns a new instance of GovernmentIDErrorItin.
22 23 24 25 |
# File 'lib/moov/models/components/governmentiderror_itin.rb', line 22 def initialize(full: nil, last_four: nil) @full = full @last_four = last_four end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/moov/models/components/governmentiderror_itin.rb', line 28 def ==(other) return false unless other.is_a? self.class return false unless @full == other.full return false unless @last_four == other.last_four true end |