class Contribute::Client

Class to find repos with stars

Attributes

octokit[R]

Public Class Methods

new() click to toggle source
# File lib/contribute/client.rb, line 7
def initialize
  token_file = YAML.load_file(File.expand_path('../../.token.yml', __dir__))
  token = token_file['token']
  @octokit = Octokit::Client.new access_token: token
end