Sha256: a06a59f01559a61ca6ee089fd628c024e44ae203ea6eefdf1d97a7326f083988

Contents?: true

Size: 366 Bytes

Versions: 15

Compression:

Stored size: 366 Bytes

Contents

require "timber/rack_middlewares/http_context"

module Timber
  # Namespace for all Rack middlewares.
  module RackMiddlewares
    # A list containing *all* `Timber::RackMiddlewares::*` sub classes. This makes it easy to
    # achieve forward compatibility as middlewares are modified.
    def self.middlewares
      @middlewares ||= [HTTPContext]
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
timber-1.1.14 lib/timber/rack_middlewares.rb
timber-1.1.13 lib/timber/rack_middlewares.rb
timber-1.1.12 lib/timber/rack_middlewares.rb
timber-1.1.11 lib/timber/rack_middlewares.rb
timber-1.1.10 lib/timber/rack_middlewares.rb
timber-1.1.9 lib/timber/rack_middlewares.rb
timber-1.1.8 lib/timber/rack_middlewares.rb
timber-1.1.7 lib/timber/rack_middlewares.rb
timber-1.1.6 lib/timber/rack_middlewares.rb
timber-1.1.5 lib/timber/rack_middlewares.rb
timber-1.1.4 lib/timber/rack_middlewares.rb
timber-1.1.3 lib/timber/rack_middlewares.rb
timber-1.1.2 lib/timber/rack_middlewares.rb
timber-1.1.1 lib/timber/rack_middlewares.rb
timber-1.1.0 lib/timber/rack_middlewares.rb