Class: Magpie::Server

Inherits:
Rack::Server
  • Object
show all
Defined in:
lib/magpie/server.rb

Defined Under Namespace

Classes: Options

Instance Method Summary (collapse)

Instance Method Details

- (Object) app



51
52
53
# File 'lib/magpie/server.rb', line 51

def app
  Magpie::APP
end

- (Object) default_options



55
56
57
58
59
60
61
62
63
64
# File 'lib/magpie/server.rb', line 55

def default_options
  {
    :environment => "development",
    :pid         => nil,
    :Port        => 9292,
    :Host        => "0.0.0.0",
    :AccessLog   => [],
    :yml         => "magpie.yml"
  }
end