Method: Tinybucket::Api::TeamApi#list
- Defined in:
- lib/tinybucket/api/team_api.rb
#list(role_name, options = {}) ⇒ Tinybucket::Model::Page
Send ‘GET teams’ request
17 18 19 20 21 22 23 |
# File 'lib/tinybucket/api/team_api.rb', line 17 def list(role_name, = {}) get_path( path_to_list, { role: role_name }.merge(), get_parser(:collection, Tinybucket::Model::Team) ) end |