Method: Composio::Data#hash

Defined in:
lib/composio/models/data.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



109
110
111
# File 'lib/composio/models/data.rb', line 109

def hash
  [field1, field2].hash
end