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



91
92
93
# File 'lib/omniauth/identity/model.rb', line 91

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