Sha256: ed6f9e1f413fb3f667c33071fad42f5406e947fc2df65ca5bd6f6496076b455c

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

require 'octokit'
require 'dotenv'

class HubClient

  def initialize
    Dotenv.load
    @client = Octokit::Client.new(:access_token => ENV['ACCESS_TOKEN'])
    Octokit.auto_paginate = true
  end

  def list_issues(repo, option={})
    @client.list_issues(repo, option)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lita-teamwork-0.4.1 lib/lita/domain/hub_client.rb