Sha256: 7a8dddb406325b38e047add864a301355158b865006b3faf7ec361a05d9c27ab

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

module RestPack::Web::Sinatra
  module App
    def self.included(base)
      base.use RestPack::Web::Rack::Domain
      base.use RestPack::Web::Rack::Session
      base.use RestPack::Web::Rack::User

      base.before do
        @restpack = RestPack::Web::Context.new(env)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restpack_web-0.4.1 lib/restpack_web/sinatra/app.rb
restpack_web-0.0.5 lib/restpack_web/sinatra/app.rb