Module: OmniAuth::Identity::Model::InstancePersistedApi

Defined in:
lib/omniauth/identity/model.rb

Instance Method Summary collapse

Instance Method Details

#persisted?true or false

This method is abstract.

Checks if the Identity object is persisted in the ORM. Default raises an error. Override as needed per ORM.

Returns:

  • (true or false)

    true if object exists, false if not.

Raises:

  • (NotImplementedError)

Since:

  • 3.0.5



105
106
107
# File 'lib/omniauth/identity/model.rb', line 105

def persisted?
  raise NotImplementedError
end