Method: UpBankingClient::RoundUpObject#==
- Defined in:
- lib/up_banking/models/round_up_object.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
95 96 97 98 99 100 |
# File 'lib/up_banking/models/round_up_object.rb', line 95 def ==(o) return true if self.equal?(o) self.class == o.class && amount == o.amount && boost_portion == o.boost_portion end |