Sha256: a98c14418beb2dc0ace07b9cad580261c15e19f87120258bc0ec47d789a3ef7f

Contents?: true

Size: 573 Bytes

Versions: 12

Compression:

Stored size: 573 Bytes

Contents

# 
# Dependencies
# 
require 'rack'
require 'rack/builder'

class Rad::Http
  attr_accessor :host, :port, :static, :url_root, :default_format, :session
  attr_required :host, :port, :url_root, :default_format
  def static?; !!@static end  
  
  attr_writer :public_path
  def public_path
    @public_path || "#{rad.runtime_path}/public"
  end
  def public_path?; !!public_path end
end

%w(  
  rack_adapter
  fixes
).each{|f| require "rad/http/_support/rack/#{f}"}


# 
# Libraries
# 
%w(
  _request
  _response
  _http_adapter
  _http  
).each{|f| require "rad/http/#{f}"}

Version data entries

12 entries across 12 versions & 1 rubygems

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