Class: YandexTracker::Collections::Fields
- Defined in:
- lib/yandex_tracker/collections/fields.rb
Overview
Collections::Fields
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #categories ⇒ Object
- #create(**attributes) ⇒ Object
- #find(id) ⇒ Object
-
#initialize(client) ⇒ Fields
constructor
A new instance of Fields.
- #list(**params) ⇒ Object
Methods inherited from Base
Constructor Details
Instance Method Details
#categories ⇒ Object
29 30 31 |
# File 'lib/yandex_tracker/collections/fields.rb', line 29 def categories @categories ||= Categories.new(client) end |
#create(**attributes) ⇒ Object
19 20 21 22 |
# File 'lib/yandex_tracker/collections/fields.rb', line 19 def create(**attributes) response = resource.create(**attributes) build_object(Objects::Field, response) end |