Sha256: 34444f2a0cda6a847edddfe3ea48e6e05ab36d84483c2cffe9d1782895bbeb5e

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

require "cuba/version"
require "cuba/ron"

module Cuba
  def self.define(&block)
    @app = Rack::Builder.new do
      use Rack::Session::Cookie
      run Cuba::Ron.new(&block)
    end
  end

  def self.call(env)
    @app.call(env)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cuba-0.1.0 lib/cuba.rb
cuba-0.0.5 lib/cuba.rb
cuba-0.0.4 lib/cuba.rb