Class: YandexTracker::Resources::Category
- Defined in:
- lib/yandex_tracker/resources/category.rb
Overview
Resources::Category
Instance Attribute Summary
Attributes inherited from Base
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
#create(**attributes) ⇒ Object
13 14 15 |
# File 'lib/yandex_tracker/resources/category.rb', line 13 def create(**attributes) post("fields/categories", attributes) end |
#find(id) ⇒ Object
17 18 19 |
# File 'lib/yandex_tracker/resources/category.rb', line 17 def find(id) get("fields/categories/#{id}") end |
#list(**params) ⇒ Object
9 10 11 |
# File 'lib/yandex_tracker/resources/category.rb', line 9 def list(**params) get("fields/categories", params) end |