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

Version Path
rad_core-0.2.6 lib/rad/http/_http.rb
rad_core-0.2.5 lib/rad/http/_http.rb
rad_core-0.2.4 lib/rad/http/_http.rb
rad_core-0.2.3 lib/rad/http/_http.rb
rad_core-0.2.2 lib/rad/http/_http.rb
rad_core-0.2.1 lib/rad/http/_http.rb
rad_core-0.2.0 lib/rad/http/_http.rb
rad_core-0.0.30 lib/rad/http/_http.rb
rad_core-0.0.29 lib/rad/http/_http.rb
rad_core-0.0.28 lib/rad/http/_http.rb
rad_core-0.0.27 lib/rad/http/_http.rb
rad_core-0.0.26 lib/rad/http/_http.rb