Class: GithubCLI::Assignee

Inherits:
API
  • Object
show all
Defined in:
lib/github_cli/apis/assignee.rb

Constant Summary

Constants inherited from API

GithubCLI::API::ENDPOINT

Class Method Summary collapse

Methods inherited from API

configure_api, github_api, output

Class Method Details

.all(user, repo, params, format) ⇒ Object



8
9
10
11
12
# File 'lib/github_cli/apis/assignee.rb', line 8

def all(user, repo, params, format)
  output format do
    github_api.issues.assignees.list user, repo, params
  end
end

.check(user, repo, assignee, params, format) ⇒ Object



14
15
16
17
18
# File 'lib/github_cli/apis/assignee.rb', line 14

def check(user, repo, assignee, params, format)
  output format do
    github_api.issues.assignees.check user, repo, assignee, params
  end
end