Class: Configuration::OutputStorePath
Class Method Summary
collapse
Instance Method Summary
collapse
#initialize, parse
Class Method Details
.match(node) ⇒ Object
181
182
183
|
# File 'lib/httpimagestore/configuration/output.rb', line 181
def self.match(node)
node.name == 'output_store_path'
end
|
Instance Method Details
#realize(request_state) ⇒ Object
185
186
187
188
189
190
191
192
193
194
195
|
# File 'lib/httpimagestore/configuration/output.rb', line 185
def realize(request_state)
paths = @output_specs.select do |output_spec|
output_spec.included?(request_state)
end.map do |output_spec|
output_spec.store_path(request_state)
end
request_state.output do
write_plain 200, paths
end
end
|