Module: LogCabin::Modules::GithubApi
- Defined in:
- lib/prospectus/helpers/github_api.rb
Overview
Provide an api method for modules to query GitHub
Instance Method Summary collapse
Instance Method Details
#github_api ⇒ Object
8 9 10 11 12 13 |
# File 'lib/prospectus/helpers/github_api.rb', line 8 def github_api @github_api ||= Octokit::Client.new( access_token: auth.token, auto_paginate: true ) end |