Sha256: 7d3cf7bcb4c1ba9d24aa1ade3ea8fec7a5828e7989d707a5c9f000bfec37dd46
Contents?: true
Size: 499 Bytes
Versions: 9
Compression:
Stored size: 499 Bytes
Contents
Prospectus.extra_dep('github_api', 'octoauth') module LogCabin module Modules ## # Provide an api method for modules to query GitHub module GithubApi def github_api @github_api ||= Octokit::Client.new( access_token: auth.token, auto_paginate: true ) end private def auth @auth ||= Octoauth.new( note: 'Prospectus', file: :default, autosave: true ) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems