Module: CodeReviewLeaderboard::Adapters::Github

Extended by:
Github
Included in:
Github
Defined in:
lib/adapters/github.rb

Instance Method Summary collapse

Instance Method Details

#clientObject



16
17
18
# File 'lib/adapters/github.rb', line 16

def client
  @client ||= Octokit::Client.new(access_token: Config.access_token)
end

#per_pageObject



20
21
22
# File 'lib/adapters/github.rb', line 20

def per_page
  client.per_page || 30
end