diff options
Diffstat (limited to 'lib/github/issues.rb')
| -rw-r--r-- | lib/github/issues.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/github/issues.rb b/lib/github/issues.rb deleted file mode 100644 index 27843e1cdd8..00000000000 --- a/lib/github/issues.rb +++ /dev/null @@ -1,20 +0,0 @@ -module Github - class Issues - attr_reader :owner, :repo - - def initialize(owner, repo) - @owner = owner - @repo = repo - end - - def fetch - Collection.new(issues_url).fetch(state: :all, sort: :created, direction: :asc, per_page: 10) - end - - private - - def issues_url - "/repos/#{owner}/#{repo}/issues" - end - end -end |
