module Tinybucket::Api::Helper::ReposHelper

Private Instance Methods

base_path() click to toggle source
# File lib/tinybucket/api/helper/repos_helper.rb, line 17
def base_path
  '/repositories'
end
path_to_list(options) click to toggle source
# File lib/tinybucket/api/helper/repos_helper.rb, line 11
def path_to_list(options)
  owner = options[:owner]
  return base_path if owner.blank?
  build_path(base_path, [owner, 'owner'])
end