Class: YandexTracker::Objects::Queue
- Defined in:
- lib/yandex_tracker/objects/queue.rb
Overview
Objects::Queue
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#expand, #id, #initialize, #method_missing, #respond_to_missing?
Constructor Details
This class inherits a constructor from YandexTracker::Objects::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class YandexTracker::Objects::Base
Instance Method Details
#issues ⇒ Object
9 10 11 |
# File 'lib/yandex_tracker/objects/queue.rb', line 9 def issues @issues ||= Collections::Issues.new(client, id) end |
#local_fields ⇒ Object
18 19 20 |
# File 'lib/yandex_tracker/objects/queue.rb', line 18 def local_fields @local_fields ||= Collections::LocalFields.new(client, id) end |
#update(**attributes) ⇒ Object
13 14 15 16 |
# File 'lib/yandex_tracker/objects/queue.rb', line 13 def update(**attributes) response = resource.update(id, attributes) refresh_from(response) end |