Sha256: 929bd4ee6c2912763fb640ac1ac16f1411b4f1483dc9ebaa856c5a026b6aa05c

Contents?: true

Size: 415 Bytes

Versions: 62

Compression:

Stored size: 415 Bytes

Contents

module Workarea
  module AssetEndpoints
    class Base
      attr_reader :params, :app, :env

      def initialize(params, app, env)
        @params = params
        @app = app
        @env = env
      end

      def result
        raise(NotImplementedError, "#{self.class} must implement #result")
      end

      private

      def request
        @request ||= Rack::Request.new(env)
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.5.15 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.36 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.14 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.35 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.13 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.34 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.12 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.33 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.11 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.10 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.32 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.9 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.31 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.8 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.30 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.7 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.29 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.6 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.28 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.5 lib/workarea/asset_endpoints/base.rb