class Clearance::FailureStatus
Indicates a failure in the {SignInGuard} stack which prevented successful sign in.
Attributes
The reason the sign in failed.
Public Class Methods
Source
# File lib/clearance/session_status.rb, line 17 def initialize(failure_message) @failure_message = failure_message end
@param [String] failure_message
The reason the sign in failed.
Public Instance Methods
Source
# File lib/clearance/session_status.rb, line 22 def success? false end
Is false, indicating that the sign in was unsuccessful.