* Introduce Github::OAuthClient and refactor shortcut Github::Client * Better stubbing and fix specs * Fix Badge rewarder * Add dummy values for Travis * Fix spec? * Simplify * Fix spec take 2? * Is this the right one? * Hopefully this is the last time, for realz * Fix spec for the nth time? * Which deity do I have to offer a sacrifice to? * This is it * Fix Honeycomb name
7 lines
235 B
Ruby
7 lines
235 B
Ruby
module Github
|
|
# Github client with Application Authentication (uses ocktokit.rb as a backend)
|
|
Client = OauthClient.new(
|
|
client_id: ApplicationConfig["GITHUB_KEY"],
|
|
client_secret: ApplicationConfig["GITHUB_SECRET"],
|
|
)
|
|
end
|