Class: GithubCLI::Event

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

Constant Summary

Constants inherited from API

API::ENDPOINT

Class Method Summary collapse

Methods inherited from API

configure_api, github_api, output

Class Method Details

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



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

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

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



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

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

.organization(org, params, format) ⇒ Object



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

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

.performed(user, params, format) ⇒ Object



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

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

.public(params, format) ⇒ Object



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

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

.received(user, params, format) ⇒ Object



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

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

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



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

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

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



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

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