Class: Tinybucket::Api::ReposApi
- Includes:
- Helper::ReposHelper
- Defined in:
- lib/tinybucket/api/repos_api.rb
Overview
Repos Api client
Constant Summary
Constants included from Connection
Connection::DEFAULT_USER_AGENT
Instance Method Summary collapse
-
#list(options = {}) ⇒ Tinybucket::Model::Page
Send ‘GET a list of repositories for an account’ request.
Methods included from Connection
#caching?, #clear_cache, #connection
Instance Method Details
#list(options = {}) ⇒ Tinybucket::Model::Page
Send ‘GET a list of repositories for an account’ request
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/tinybucket/api/repos_api.rb', line 16 def list( = {}) opts = .clone opts.delete(:owner) get_path( path_to_list(), opts, get_parser(:collection, Tinybucket::Model::Repository) ) end |