Method: TransferZero::CurrencyOppositeAllOf#==

Defined in:
lib/transferzero-sdk/models/currency_opposite_all_of.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



78
79
80
81
82
83
# File 'lib/transferzero-sdk/models/currency_opposite_all_of.rb', line 78

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      rate == o.rate &&
      mtm_rate == o.mtm_rate
end