Sha256: a29714e12786fa025a5cb09dfad4f372eadd5bb86702f18873c6f121cca1a1a3

Contents?: true

Size: 572 Bytes

Versions: 12

Compression:

Stored size: 572 Bytes

Contents

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

class Rad::Http
  attr_accessor :host, :port, :static, :url_root, :default_format, :session
  require_attr :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.0.25 lib/rad/http/_require.rb
rad_core-0.0.24 lib/rad/http/_require.rb
rad_core-0.0.23 lib/rad/http/_require.rb
rad_core-0.0.22 lib/rad/http/_require.rb
rad_core-0.0.21 lib/rad/http/_require.rb
rad_core-0.0.20 lib/rad/http/_require.rb
rad_core-0.0.19 lib/rad/http/_require.rb
rad_core-0.0.18 lib/rad/http/_require.rb
rad_core-0.0.17 lib/rad/http/_require.rb
rad_core-0.0.16 lib/rad/http/_require.rb
rad_core-0.0.15 lib/rad/http/_require.rb
rad_core-0.0.14 lib/rad/http/_require.rb