Class: Gate::User

Inherits:
Object
  • Object
show all
Defined in:
lib/gate/user.rb

Instance Method Summary collapse

Instance Method Details

#external?Boolean

Returns:

  • (Boolean)


39
40
41
# File 'lib/gate/user.rb', line 39

def external?
  !internal?
end

#unverified?Boolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/gate/user.rb', line 35

def unverified?
  !verified?
end

#verified!Object



27
28
29
# File 'lib/gate/user.rb', line 27

def verified!
  @verified = true
end

#verified?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/gate/user.rb', line 31

def verified?
  !!@verified
end