Module: OmniAuth::Identity::Model::ClassCreateApi
- Defined in:
- lib/omniauth/identity/model.rb
Overview
Provides a create method for models that don’t have one.
Instance Method Summary collapse
-
#create(*_args) ⇒ Model
abstract
deprecated
Deprecated.
v4.0 will begin using #new with #save instead.
Instance Method Details
#create(*_args) ⇒ Model
Deprecated.
v4.0 will begin using #new with #save instead.
This method is abstract.
Persists a new Identity object to the ORM.
Only included if the class doesn’t define create, as a reminder to define create.
Override as needed per ORM.
98 99 100 |
# File 'lib/omniauth/identity/model.rb', line 98 def create(*_args) raise NotImplementedError end |