module Tinybucket::Api::Helper::BranchRestrictionsHelper

Private Instance Methods

base_path() click to toggle source
# File lib/tinybucket/api/helper/branch_restrictions_helper.rb, line 20
def base_path
  build_path('/repositories',
             [repo_owner, 'repo_owner'],
             [repo_slug, 'repo_slug'],
             'branch-restrictions')
end
path_to_find(restriction_id) click to toggle source
# File lib/tinybucket/api/helper/branch_restrictions_helper.rb, line 15
def path_to_find(restriction_id)
  build_path(base_path,
             [restriction_id, 'restriction_id'])
end
path_to_list() click to toggle source
# File lib/tinybucket/api/helper/branch_restrictions_helper.rb, line 11
def path_to_list
  base_path
end