Class: Handiv::Tasks::Reporter
- Inherits:
-
Object
- Object
- Handiv::Tasks::Reporter
- Defined in:
- lib/handiv/tasks/reporter.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#task_id ⇒ Object
readonly
Returns the value of attribute task_id.
Instance Method Summary collapse
-
#initialize(task_id, options = {}) ⇒ Reporter
constructor
A new instance of Reporter.
- #report ⇒ Object
Constructor Details
#initialize(task_id, options = {}) ⇒ Reporter
Returns a new instance of Reporter.
6 7 8 9 |
# File 'lib/handiv/tasks/reporter.rb', line 6 def initialize(task_id, = {}) @task_id = task_id @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/handiv/tasks/reporter.rb', line 4 def @options end |
#task_id ⇒ Object (readonly)
Returns the value of attribute task_id.
4 5 6 |
# File 'lib/handiv/tasks/reporter.rb', line 4 def task_id @task_id end |