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