rad.http class EvaluateFormat < Rad::Conveyors::Processor def call path = workspace.path.must_be.defined params = workspace.params.must_be.defined parts = path.split('.') if parts.size > 1 format = parts.last logger.warn "RAD two :format parameters!" if params.include?(:format) workspace.params = params.clone workspace.params.format = format else params.format ||= rad.http.default_format end next_processor.call end end