class Rack::Cargo::Configuration

Attributes

batch_path[RW]
processors[RW]
timeout[RW]

Public Class Methods

new() click to toggle source
# File lib/rack/cargo/configuration.rb, line 10
def initialize
  self.batch_path = "/batch"
  self.processors = [
    ReferenceResolver,
    RequestEnvBuilder,
    RequestExecutor,
    ResponseBuilder
  ]
  self.timeout = 1 # seconds
end