module Tinybucket::Api::Helper::DiffHelper
Private Instance Methods
base_path()
click to toggle source
# File lib/tinybucket/api/helper/diff_helper.rb, line 23 def base_path build_path('/repositories', [repo_owner, 'repo_owner'], [repo_slug, 'repo_slug']) end
path_to_find(spec)
click to toggle source
# File lib/tinybucket/api/helper/diff_helper.rb, line 11 def path_to_find(spec) build_path(base_path, 'diff', [spec, 'spec']) end
path_to_patch(spec)
click to toggle source
# File lib/tinybucket/api/helper/diff_helper.rb, line 17 def path_to_patch(spec) build_path(base_path, 'patch', [spec, 'spec']) end