Class: Printavo::PresetTaskGroup
- Inherits:
-
Models::Base
- Object
- Models::Base
- Printavo::PresetTaskGroup
- Defined in:
- lib/printavo/models/preset_task_group.rb
Instance Method Summary collapse
Methods inherited from Models::Base
#==, #[], #dig, #initialize, #inspect, #to_h
Constructor Details
This class inherits a constructor from Printavo::Models::Base
Instance Method Details
#id ⇒ Object
6 |
# File 'lib/printavo/models/preset_task_group.rb', line 6 def id = self['id'] |
#name ⇒ Object
7 |
# File 'lib/printavo/models/preset_task_group.rb', line 7 def name = self['name'] |
#tasks ⇒ Object
8 |
# File 'lib/printavo/models/preset_task_group.rb', line 8 def tasks = Array(self['tasks']).map { |attrs| PresetTask.new(attrs) } |