Method: Runcible::Resources::TaskGroup.path
- Defined in:
- lib/runcible/resources/task_group.rb
.path(id = nil) ⇒ String
Generates the API path for Tasks
9 10 11 |
# File 'lib/runcible/resources/task_group.rb', line 9 def self.path(id = nil) id.nil? ? 'task_groups/' : "task_groups/#{id}/" end |