Class: User::SignIn
- Inherits:
-
UserPlane::Command
- Object
- Imperator::Command
- UserPlane::Command
- User::SignIn
- Includes:
- ActiveModel::Validations::Callbacks
- Defined in:
- app/models/user/sign_in.rb
Instance Attribute Summary collapse
-
#ominauth_error ⇒ Object
Returns the value of attribute ominauth_error.
Instance Method Summary collapse
Methods inherited from UserPlane::Command
#perform, #perform!, #perform_validations
Instance Attribute Details
#ominauth_error ⇒ Object
Returns the value of attribute ominauth_error.
11 12 13 |
# File 'app/models/user/sign_in.rb', line 11 def ominauth_error @ominauth_error end |
Instance Method Details
#sign_in_with(strategy) ⇒ Object
31 32 33 34 35 |
# File 'app/models/user/sign_in.rb', line 31 def sign_in_with strategy @strategy = strategy @identity = strategy.find_identity(self) if identity.nil? self end |