Module: Pult::Api::Server

Defined in:
lib/init/struct.rb,
lib/pult/api/server.rb

Constant Summary collapse

METHS =

temp fix curl -d ”

WEBrick::HTTPRequest::BODY_CONTAINABLE_METHODS

Class Method Summary collapse

Class Method Details

.run!(api:, port: Pult::PORT) ⇒ Object



7
8
9
# File 'lib/pult/api/server.rb', line 7

def self.run! api:, port: Pult::PORT
  Rack::Handler::WEBrick.run api, Port: port
end