Class: Adamantite::GUI::Request::LoginRequest
- Inherits:
-
Object
- Object
- Adamantite::GUI::Request::LoginRequest
- Defined in:
- lib/gui/request/login_request.rb
Instance Attribute Summary collapse
-
#adamantite ⇒ Object
Returns the value of attribute adamantite.
-
#authenticated ⇒ Object
Returns the value of attribute authenticated.
-
#master_password ⇒ Object
Returns the value of attribute master_password.
Instance Method Summary collapse
Instance Attribute Details
#adamantite ⇒ Object
Returns the value of attribute adamantite.
10 11 12 |
# File 'lib/gui/request/login_request.rb', line 10 def adamantite @adamantite end |
#authenticated ⇒ Object
Returns the value of attribute authenticated.
10 11 12 |
# File 'lib/gui/request/login_request.rb', line 10 def authenticated @authenticated end |
#master_password ⇒ Object
Returns the value of attribute master_password.
10 11 12 |
# File 'lib/gui/request/login_request.rb', line 10 def master_password @master_password end |
Instance Method Details
#authenticate! ⇒ Object
12 13 14 15 16 |
# File 'lib/gui/request/login_request.rb', line 12 def authenticate! @adamantite = Base::Adamantite.new(master_password) @adamantite.authenticate! @authenticated = @adamantite.authenticated? end |