Class: YandexTracker::Resources::Queue

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

Overview

Resources::Queue

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

#create(**attributes) ⇒ Object



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

def create(**attributes)
  post("queues", attributes)
end

#find(id, **params) ⇒ Object



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

def find(id, **params)
  get("queues/#{id}", params)
end

#list(**params) ⇒ Object



17
18
19
# File 'lib/yandex_tracker/resources/queue.rb', line 17

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