module Tinybucket::Api::Helper::BranchesHelper
Private Instance Methods
base_path()
click to toggle source
# File lib/tinybucket/api/helper/branches_helper.rb, line 20 def base_path build_path('/repositories', [repo_owner, 'repo_owner'], [repo_slug, 'repo_slug'], 'refs', 'branches') end
path_to_find(branch)
click to toggle source
# File lib/tinybucket/api/helper/branches_helper.rb, line 15 def path_to_find(branch) build_path(base_path, [branch, 'branch']) end
path_to_list()
click to toggle source
# File lib/tinybucket/api/helper/branches_helper.rb, line 11 def path_to_list build_path(base_path) end