module Helpers

Constants

MEDIA_TYPE

Authenticated Octokit TODO remove license preview media type when this ships

Public Instance Methods

client() click to toggle source
# File lib/metamatter/helpers.rb, line 6
def client
  @client ||= Octokit::Client.new(:access_token => ENV['GITHUB_TOKEN'],
                                  :default_media_type => MEDIA_TYPE)
end