Sha256: baf1bf7fcb11de75d0c2b531bcc2987dde0c25829e2b21a0b7da5cb729426d8c

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 Bytes

Contents

class Rad::Http  
  inject environment: :environment
  attr_reader :rack_adapter, :http_adapter    
  
  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, :mock_environment, to: :http_adapter
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rad_core-0.0.25 lib/rad/http/_http.rb
rad_core-0.0.24 lib/rad/http/_http.rb