Method: Phrase::AuthorizationCreateParameters#hash

Defined in:
lib/phrase/models/authorization_create_parameters.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



104
105
106
# File 'lib/phrase/models/authorization_create_parameters.rb', line 104

def hash
  [note, scopes, expires_at].hash
end