Sha256: 92a7fc2a4d9b75a707578743cfe705dd8db7598322a82f84aebcce447d7c539d
Contents?: true
Size: 527 Bytes
Versions: 12
Compression:
Stored size: 527 Bytes
Contents
class Rad::Http # inject environment: :environment attr_reader :rack_adapter, :http_adapter attr_writer :browser_generated_types, :browser_generated_formats def browser_generated_types; @browser_generated_types ||= [] end def browser_generated_formats; @browser_generated_formats ||= [] end def initialize @rack_adapter, @http_adapter = Rad::Http::RackAdapter.new, Rad::Http::HttpAdapter.new end delegate :configure_rack!, :stack, :run, to: :rack_adapter delegate :call, to: :http_adapter end
Version data entries
12 entries across 12 versions & 1 rubygems