Class: Rack::Cargo::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/cargo/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



9
10
11
12
13
14
15
16
17
# File 'lib/rack/cargo/configuration.rb', line 9

def initialize
  self.batch_path = "/batch"
  self.processors = [
    ReferenceResolver,
    RequestEnvBuilder,
    RequestExecutor,
    ResponseBuilder
  ]
end

Instance Attribute Details

#batch_pathObject

Returns the value of attribute batch_path.



6
7
8
# File 'lib/rack/cargo/configuration.rb', line 6

def batch_path
  @batch_path
end

#processorsObject

Returns the value of attribute processors.



7
8
9
# File 'lib/rack/cargo/configuration.rb', line 7

def processors
  @processors
end