Module: GitHub::Employee::RepoAuth
- Defined in:
- lib/github_employee_auth.rb
Class Method Summary collapse
Class Method Details
.registered(app) ⇒ Object
27 28 29 30 31 |
# File 'lib/github_employee_auth.rb', line 27 def self.registered(app) app.helpers(Helpers) app.set(:github_options, {:scopes => "user,repo"}) app.register(Sinatra::Auth::Github) end |