Module: OmniAuth::Identity::Model::InstanceSaveApi

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

Instance Method Summary collapse

Instance Method Details

#save(**_options, &_block) ⇒ Model

This method is abstract.

Persists a new Identity object to the ORM. Default raises an error. Override as needed per ORM. This base version’s arguments are modeled after ActiveModel

since it is a pattern many ORMs follow

Returns:

  • (Model)

    An instance of the identity model class.

Raises:

  • (NotImplementedError)

Since:

  • 3.0.5



93
94
95
# File 'lib/omniauth/identity/model.rb', line 93

def save(**_options, &_block)
  raise NotImplementedError
end