Class: Abt::Providers::Harvest::Services::TaskPicker::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/abt/providers/harvest/services/task_picker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(task:, path:) ⇒ Result

Returns a new instance of Result.



11
12
13
14
# File 'lib/abt/providers/harvest/services/task_picker.rb', line 11

def initialize(task:, path:)
  @task = task
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



9
10
11
# File 'lib/abt/providers/harvest/services/task_picker.rb', line 9

def path
  @path
end

#taskObject (readonly)

Returns the value of attribute task.



9
10
11
# File 'lib/abt/providers/harvest/services/task_picker.rb', line 9

def task
  @task
end