Class: StatusTask
Instance Method Summary collapse
- #do_task_work ⇒ Object
-
#initialize(webService, thing, *args) ⇒ StatusTask
constructor
A new instance of StatusTask.
Methods inherited from BaseTask
Constructor Details
#initialize(webService, thing, *args) ⇒ StatusTask
Returns a new instance of StatusTask.
5 6 7 8 9 10 |
# File 'lib/tasks/statusTask.rb', line 5 def initialize( webService, thing, *args ) super( webService, thing, false ) @web = webService @thing = thing @statusUpdates = statusArgsToArray( *args ) end |
Instance Method Details
#do_task_work ⇒ Object
12 13 14 |
# File 'lib/tasks/statusTask.rb', line 12 def do_task_work @web.add_status( @thing, @statusUpdates ) end |