Method: Forgejo::OAuth2Application#hash

Defined in:
lib/forgejo/models/o_auth2_application.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



158
159
160
# File 'lib/forgejo/models/o_auth2_application.rb', line 158

def hash
  [client_id, client_secret, confidential_client, created, id, name, redirect_uris].hash
end