Class: GitAll::Users::User
- Inherits:
-
Struct
- Object
- Struct
- GitAll::Users::User
- Defined in:
- lib/gitall/gitall.rb
Instance Attribute Summary collapse
-
#nickname ⇒ Object
Returns the value of attribute nickname.
-
#password ⇒ Object
Returns the value of attribute password.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#nickname ⇒ Object
Returns the value of attribute nickname
22 23 24 |
# File 'lib/gitall/gitall.rb', line 22 def nickname @nickname end |
#password ⇒ Object
Returns the value of attribute password
22 23 24 |
# File 'lib/gitall/gitall.rb', line 22 def password @password end |
#type ⇒ Object
Returns the value of attribute type
22 23 24 |
# File 'lib/gitall/gitall.rb', line 22 def type @type end |
Instance Method Details
#authenticate(pass) ⇒ Object
23 24 25 |
# File 'lib/gitall/gitall.rb', line 23 def authenticate(pass) password == pass end |