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.27 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.26 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.45 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.25 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.23 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.44 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.22 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.43 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.21 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.42 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.20 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.41 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.19 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.40 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.18 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.39 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.17 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.38 lib/workarea/asset_endpoints/base.rb
workarea-core-3.5.16 lib/workarea/asset_endpoints/base.rb
workarea-core-3.4.37 lib/workarea/asset_endpoints/base.rb