Class: Kadmin::Auth::User
- Inherits:
-
Object
- Object
- Kadmin::Auth::User
- Defined in:
- lib/kadmin/auth/user.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
Instance Method Summary collapse
- #authorized?(_request) ⇒ Boolean
-
#initialize(email) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(email) ⇒ User
Returns a new instance of User
6 7 8 |
# File 'lib/kadmin/auth/user.rb', line 6 def initialize(email) @email = email end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email
4 5 6 |
# File 'lib/kadmin/auth/user.rb', line 4 def email @email end |
Instance Method Details
#authorized?(_request) ⇒ Boolean
10 11 12 |
# File 'lib/kadmin/auth/user.rb', line 10 def (_request) return true end |