Class: GithubCLI::Event

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

Class Method Summary collapse

Methods inherited from API

configure, github_api, output, set_basic_auth

Class Method Details

.issue(user, repo, params, options) ⇒ Object


20
21
22
23
24
# File 'lib/github_cli/apis/event.rb', line 20

def issue(user, repo, params, options)
  output options do
    github_api(options).activity.events.issue user, repo, params
  end
end

.network(user, repo, params, options) ⇒ Object


26
27
28
29
30
# File 'lib/github_cli/apis/event.rb', line 26

def network(user, repo, params, options)
  output options do
    github_api(options).activity.events.network user, repo, params
  end
end

.organization(org, params, options) ⇒ Object


32
33
34
35
36
# File 'lib/github_cli/apis/event.rb', line 32

def organization(org, params, options)
  output options do
    github_api(options).activity.events.organization org, params
  end
end

.performed(user, params, options) ⇒ Object


44
45
46
47
48
# File 'lib/github_cli/apis/event.rb', line 44

def performed(user, params, options)
  output options do
    github_api(options).activity.events.performed user, params
  end
end

.public(params, options) ⇒ Object


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

def public(params, options)
  output options do
    github_api(options).activity.events.public params
  end
end

.received(user, params, options) ⇒ Object


38
39
40
41
42
# File 'lib/github_cli/apis/event.rb', line 38

def received(user, params, options)
  output options do
    github_api(options).activity.events.received user, params
  end
end

.repository(user, repo, params, options) ⇒ Object


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

def repository(user, repo, params, options)
  output options do
    github_api(options).activity.events.repository user, repo, params
  end
end

.user_org(user, org, params, options) ⇒ Object


50
51
52
53
54
# File 'lib/github_cli/apis/event.rb', line 50

def user_org(user, org, params, options)
  output options do
    github_api(options).activity.events.user_org user, org, params
  end
end