class Tofu::Tofulet

Attributes

bartender[R]
config[R]
logger[R]
options[R]

Public Class Methods

new(config, bartender, *options) click to toggle source
Calls superclass method
# File lib/tofu.rb, line 449
def initialize(config, bartender, *options)
  @bartender = bartender
  super(config, *options)
  @logger.debug("#{self.class}(initialize)")
end

Public Instance Methods

service(req, res) click to toggle source
# File lib/tofu.rb, line 456
def service(req, res)
  Context.new(req, res).service(@bartender)
end