Class: GitAll::Bot::Users::User
- Inherits:
-
Struct
- Object
- Struct
- GitAll::Bot::Users::User
- Defined in:
- lib/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
41 42 43 |
# File 'lib/gitall.rb', line 41 def nickname @nickname end |
#password ⇒ Object
Returns the value of attribute password
41 42 43 |
# File 'lib/gitall.rb', line 41 def password @password end |
#type ⇒ Object
Returns the value of attribute type
41 42 43 |
# File 'lib/gitall.rb', line 41 def type @type end |
Instance Method Details
#authenticate(pass) ⇒ Object
42 43 44 |
# File 'lib/gitall.rb', line 42 def authenticate(pass) password == pass end |