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