class UnitApplication

Public Class Methods

new(body = nil) click to toggle source
# File spec/rack_helper.rb, line 28
def initialize(body = nil)
  @body = Jpmobile::Util.utf8(body || "Body")
end

Public Instance Methods

call(env) click to toggle source
# File spec/rack_helper.rb, line 32
def call(env)
  Rack::Response.new(@body, 200, env).finish
end