Class: Abt::Providers::Asana::Services::TaskPicker
- Inherits:
-
Object
- Object
- Abt::Providers::Asana::Services::TaskPicker
- Defined in:
- lib/abt/providers/asana/services/task_picker.rb
Defined Under Namespace
Classes: Result
Instance Attribute Summary collapse
-
#cli ⇒ Object
readonly
Returns the value of attribute cli.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#project ⇒ Object
readonly
Returns the value of attribute project.
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(cli:, path:, config:, project:) ⇒ TaskPicker
constructor
A new instance of TaskPicker.
Constructor Details
#initialize(cli:, path:, config:, project:) ⇒ TaskPicker
Returns a new instance of TaskPicker.
23 24 25 26 27 28 |
# File 'lib/abt/providers/asana/services/task_picker.rb', line 23 def initialize(cli:, path:, config:, project:) @cli = cli @path = path @config = config @project = project end |
Instance Attribute Details
#cli ⇒ Object (readonly)
Returns the value of attribute cli.
21 22 23 |
# File 'lib/abt/providers/asana/services/task_picker.rb', line 21 def cli @cli end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
21 22 23 |
# File 'lib/abt/providers/asana/services/task_picker.rb', line 21 def config @config end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
21 22 23 |
# File 'lib/abt/providers/asana/services/task_picker.rb', line 21 def path @path end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
21 22 23 |
# File 'lib/abt/providers/asana/services/task_picker.rb', line 21 def project @project end |
Class Method Details
.call(**args) ⇒ Object
17 18 19 |
# File 'lib/abt/providers/asana/services/task_picker.rb', line 17 def self.call(**args) new(**args).call end |