Class: Moov::Models::Errors::TransferOptionsValidationError
- Inherits:
-
Object
- Object
- Moov::Models::Errors::TransferOptionsValidationError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/errors/transferoptionsvalidationerror.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(amount: nil, source: nil, destination: nil, raw_response: nil) ⇒ TransferOptionsValidationError
constructor
A new instance of TransferOptionsValidationError.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(amount: nil, source: nil, destination: nil, raw_response: nil) ⇒ TransferOptionsValidationError
Returns a new instance of TransferOptionsValidationError.
26 27 28 29 30 31 |
# File 'lib/moov/models/errors/transferoptionsvalidationerror.rb', line 26 def initialize(amount: nil, source: nil, destination: nil, raw_response: nil) @amount = amount @source = source @destination = destination @raw_response = raw_response end |
Instance Method Details
#==(other) ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/moov/models/errors/transferoptionsvalidationerror.rb', line 34 def ==(other) return false unless other.is_a? self.class return false unless @amount == other.amount return false unless @source == other.source return false unless @destination == other.destination return false unless @raw_response == other.raw_response true end |