Sha256: 090945c0708db96e6cdf1bef240076a4efe3b49afa9208528c89db4f7ecfbdeb

Contents?: true

Size: 516 Bytes

Versions: 12

Compression:

Stored size: 516 Bytes

Contents

OAUTH_CREDENTIALS = {}.tap do |credentials|

  github = Houston.config.github.pick(:key, :secret)
  unless github.empty?
    credentials.merge!(github: github.merge(
      expose: false, # expose client at /oauth_consumers/twitter/client see docs
      oauth_version: 2,
      scope: "repo",
      options: {
        site: "https://github.com",
        authorize_url: "/login/oauth/authorize",
        token_url: "/login/oauth/access_token"
    }))
  end

end.freeze

load 'oauth/models/consumers/service_loader.rb'

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
houston-core-0.6.3 config/initializers/oauth_consumers.rb
houston-core-0.6.2 config/initializers/oauth_consumers.rb
houston-core-0.6.1 config/initializers/oauth_consumers.rb
houston-core-0.6.0 config/initializers/oauth_consumers.rb
houston-core-0.5.6 config/initializers/oauth_consumers.rb
houston-core-0.5.5 config/initializers/oauth_consumers.rb
houston-core-0.5.4 config/initializers/oauth_consumers.rb
houston-core-0.5.3 config/initializers/oauth_consumers.rb
houston-core-0.5.2 config/initializers/oauth_consumers.rb
houston-core-0.5.1 config/initializers/oauth_consumers.rb
houston-core-0.5.0 config/initializers/oauth_consumers.rb
houston-core-0.5.0.beta1 config/initializers/oauth_consumers.rb