Sha256: abb86acc179c8e5870afd2d20d6f6d09022fd7a238ad68c6cc4d798e825d1eb4
Contents?: true
Size: 554 Bytes
Versions: 21
Compression:
Stored size: 554 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 def repo(value) @repo = value end end end end
Version data entries
21 entries across 21 versions & 1 rubygems