module OmniAuth::Identity::Model::ClassCreateApi
Public Instance Methods
create(*_args)
click to toggle source
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.
@deprecated v4.0 will begin using {#new} with {#save} instead. @abstract @param [Hash] args Attributes of the new instance. @return [Model] An instance of the identity model class. @since 3.0.5
# File lib/omniauth/identity/model.rb, line 77 def create(*_args) raise NotImplementedError end