Class: YandexTracker::Resources::Workflow

Inherits:
Base
  • Object
show all
Defined in:
lib/yandex_tracker/resources/workflow.rb

Overview

Resources::Workflow

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#delete, #get, #initialize, #patch, #post, #put

Constructor Details

This class inherits a constructor from YandexTracker::Resources::Base

Instance Method Details

#find(id) ⇒ Object



13
14
15
# File 'lib/yandex_tracker/resources/workflow.rb', line 13

def find(id)
  get("workflows/#{id}")
end

#list(**params) ⇒ Object



9
10
11
# File 'lib/yandex_tracker/resources/workflow.rb', line 9

def list(**params)
  get("workflows", params)
end