module OmniAuth::Identity::Model::InstanceSaveApi

Public Instance Methods

save(**_options, &_block) click to toggle source

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

@abstract @return [Model] An instance of the identity model class. @since 3.0.5

# File lib/omniauth/identity/model.rb, line 91
def save(**_options, &_block)
  raise NotImplementedError
end