Method: YNAB::CurrencyFormat#hash

Defined in:
lib/ynab/models/currency_format.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



163
164
165
# File 'lib/ynab/models/currency_format.rb', line 163

def hash
  [iso_code, example_format, decimal_digits, decimal_separator, symbol_first, group_separator, currency_symbol, display_symbol].hash
end