Class: YandexTracker::Resources::Field

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

Overview

Resources::Field

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



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

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

#find(id) ⇒ Object



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

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

#list(**params) ⇒ Object



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

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