module Tinybucket::Api::Helper::TeamHelper
Private Instance Methods
base_path()
click to toggle source
# File lib/tinybucket/api/helper/team_helper.rb, line 35 def base_path build_path('/teams') end
path_to_find(name)
click to toggle source
# File lib/tinybucket/api/helper/team_helper.rb, line 15 def path_to_find(name) team_path(name) end
path_to_followers(name)
click to toggle source
# File lib/tinybucket/api/helper/team_helper.rb, line 23 def path_to_followers(name) build_path(team_path(name), 'followers') end
path_to_following(name)
click to toggle source
# File lib/tinybucket/api/helper/team_helper.rb, line 27 def path_to_following(name) build_path(team_path(name), 'following') end
path_to_list()
click to toggle source
# File lib/tinybucket/api/helper/team_helper.rb, line 11 def path_to_list base_path end
path_to_members(name)
click to toggle source
# File lib/tinybucket/api/helper/team_helper.rb, line 19 def path_to_members(name) build_path(team_path(name), 'members') end
path_to_repos(name)
click to toggle source
# File lib/tinybucket/api/helper/team_helper.rb, line 31 def path_to_repos(name) build_path(team_path(name), 'repositories') end
team_path(name)
click to toggle source
# File lib/tinybucket/api/helper/team_helper.rb, line 39 def team_path(name) build_path(base_path, [name, 'teamname']) end