Class: GithubCLI::Notification
- Inherits:
-
API
- Object
- API
- GithubCLI::Notification
show all
- Defined in:
- lib/github_cli/apis/notification.rb
Class Method Summary
collapse
Methods inherited from API
configure_api, github_api, output
Class Method Details
.all(params, format) ⇒ Object
8
9
10
11
12
|
# File 'lib/github_cli/apis/notification.rb', line 8
def all(params, format)
output format do
github_api.activity.notifications.list params
end
end
|
.get(id, params, format) ⇒ Object
14
15
16
17
18
|
# File 'lib/github_cli/apis/notification.rb', line 14
def get(id, params, format)
output format do
github_api.activity.notifications.get id, params
end
end
|