gitlab-org--gitlab-foss/lib/github/repositories.rb

20 lines
262 B
Ruby
Raw Normal View History

2017-04-11 21:33:54 -04:00
module Github
class Repositories
attr_reader :options
def initialize(options)
@options = options
2017-04-11 21:33:54 -04:00
end
def fetch
Collection.new(options).fetch(repos_url)
2017-04-11 21:33:54 -04:00
end
private
def repos_url
'/user/repos'
end
end
end