Method: TogaiClient::UsageConfig#hash

Defined in:
lib/togai_client/models/usage_config.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



169
170
171
# File 'lib/togai_client/models/usage_config.rb', line 169

def hash
  [mode, usage_map, lookup_range, lookup_cycle].hash
end