Method: TransferZero::Pagination#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



123
124
125
# File 'lib/transferzero-sdk/models/pagination.rb', line 123

def hash
  [current_page, next_page, prev_page, total_pages, total_count].hash
end