Module: Aker::Confident::Signer

Included in:
Aker::Confident
Defined in:
lib/aker/confident/signer.rb

Instance Method Summary collapse

Instance Method Details

#sign(user) ⇒ Object



10
11
12
13
# File 'lib/aker/confident/signer.rb', line 10

def sign(user)
  validate_argument!(user)
  configuration.model.sign(user)
end

#signed?(user) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
8
# File 'lib/aker/confident/signer.rb', line 5

def signed?(user)
  validate_argument!(user)
  configuration.model.signed?(user)
end