module Tinybucket::Api::Helper::ProjectsHelper
Private Instance Methods
base_path(owner)
click to toggle source
# File lib/tinybucket/api/helper/projects_helper.rb, line 20 def base_path(owner) build_path('/teams', [owner, 'owner'], 'projects') end
path_to_find(owner, project_key)
click to toggle source
# File lib/tinybucket/api/helper/projects_helper.rb, line 15 def path_to_find(owner, project_key) build_path(base_path(owner), [project_key, 'project_key']) end
path_to_list(owner)
click to toggle source
# File lib/tinybucket/api/helper/projects_helper.rb, line 11 def path_to_list(owner) build_path(base_path(owner), '/') end