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