Module: GitHub::Employee::Auth

Defined in:
lib/github_employee_auth.rb,
lib/github_employee_auth/test_helper.rb

Defined Under Namespace

Modules: TestHelper

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object



19
20
21
22
23
# File 'lib/github_employee_auth.rb', line 19

def self.registered(app)
  app.helpers(Helpers)
  app.set(:github_options, {:scopes => "user"})
  app.register(Sinatra::Auth::Github)
end