Class: Rack::Cargo::Configuration
- Defined in:
- lib/rack/cargo/configuration.rb
Instance Attribute Summary collapse
-
#batch_path ⇒ Object
Returns the value of attribute batch_path.
-
#processors ⇒ Object
Returns the value of attribute processors.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_path ⇒ Object
Returns the value of attribute batch_path.
6 7 8 |
# File 'lib/rack/cargo/configuration.rb', line 6 def batch_path @batch_path end |
#processors ⇒ Object
Returns the value of attribute processors.
7 8 9 |
# File 'lib/rack/cargo/configuration.rb', line 7 def processors @processors end |