Sha256: 6f03152fb8817ca09f839772e01a5f74386563fd91c382f1fa3b2396e6747f0d

Contents?: true

Size: 407 Bytes

Versions: 64

Compression:

Stored size: 407 Bytes

Contents

# Interface:
#   subclasses must implement render
module Jets::Controller::Renderers
  class BaseRenderer
    delegate :request, :event, :headers, to: :controller
    attr_reader :controller
    def initialize(controller, options={})
      @controller = controller
      @options = options
    end

    def render_aws_proxy(options)
      AwsProxyRenderer.new(@controller, options).render
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
jets-1.0.18 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.17 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.16 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.15 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.13 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.12 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.11 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.10 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.9 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.8 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.7 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.6 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.5 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.4 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.3 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.2 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.1 lib/jets/controller/renderers/base_renderer.rb
jets-1.0.0 lib/jets/controller/renderers/base_renderer.rb
jets-0.10.4 lib/jets/controller/renderers/base_renderer.rb
jets-0.10.3 lib/jets/controller/renderers/base_renderer.rb