Method: UpBankingClient::RoundUpObject#hash

Defined in:
lib/up_banking/models/round_up_object.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



110
111
112
# File 'lib/up_banking/models/round_up_object.rb', line 110

def hash
  [amount, boost_portion].hash
end