gitlab-org--gitlab-foss/lib/github/repositories.rb
2017-04-24 16:17:52 -03:00

19 lines
262 B
Ruby

module Github
class Repositories
attr_reader :options
def initialize(options)
@options = options
end
def fetch
Collection.new(options).fetch(repos_url)
end
private
def repos_url
'/user/repos'
end
end
end