Class: UserTasks
- Inherits:
-
TaskHandler
- Object
- TaskHandler
- UserTasks
- Defined in:
- app/volt/tasks/user_tasks.rb
Instance Method Summary collapse
-
#create_user(username, password) ⇒ Object
Login a user, takes a username and password.
Methods inherited from TaskHandler
inherited, #initialize, known_handlers, method_missing
Constructor Details
This class inherits a constructor from TaskHandler
Instance Method Details
#create_user(username, password) ⇒ Object
Login a user, takes a username and password
3 4 5 |
# File 'app/volt/tasks/user_tasks.rb', line 3 def create_user(username, password) $page.store._users << {email: username, password: password} end |