Welcome to mirror list, hosted at ThFree Co, Russian Federation.

repositories.rb « github « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c1c9448f305414a7985bbf7d6ca3d5cc67449840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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