Class: Ghub::Endpoints::Repositories::Root
- Inherits:
-
Object
- Object
- Ghub::Endpoints::Repositories::Root
- Defined in:
- lib/ghub/endpoints/repositories/root.rb
Overview
Provides access to the users API endpoint.
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
21 |
# File 'lib/ghub/endpoints/repositories/root.rb', line 21 def create(...) = create_action.call(...) |
#destroy(owner, id) ⇒ Object
25 |
# File 'lib/ghub/endpoints/repositories/root.rb', line 25 def destroy(owner, id) = api.delete "repos/#{owner}/#{id}" |
#index ⇒ Object
17 |
# File 'lib/ghub/endpoints/repositories/root.rb', line 17 def index(...) = index_action.call(...) |
#patch ⇒ Object
23 |
# File 'lib/ghub/endpoints/repositories/root.rb', line 23 def patch(...) = patch_action.call(...) |
#show ⇒ Object
19 |
# File 'lib/ghub/endpoints/repositories/root.rb', line 19 def show(...) = show_action.call(...) |