Class: YandexTracker::Resources::User

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

Overview

Resources::User

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

#find(id) ⇒ Object



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

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

#list(**params) ⇒ Object



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

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

#myselfObject



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

def myself
  get("myself")
end