module Perkins

github.com/atmos/sinatra_auth_github

actually, the worker payload can be cleaned up a lot …

Constants

ROOT_PATH
VERSION

Public Class Methods

application(options = {}, &block) click to toggle source
# File lib/perkins/dsl.rb, line 2
def self.application(options = {}, &block)
  app_proxy = Perkins::AppProxy.new(options)
  if block.arity == 0
    app_proxy.instance_eval &block
  else
    app_proxy.instance_exec(app_proxy, &block)
  end
  app_proxy.app
end