Sha256: a0964f91601dfd9989304f50fd8f8028e7d75fe524c1c67d1c9fe68590da08dc

Contents?: true

Size: 286 Bytes

Versions: 4

Compression:

Stored size: 286 Bytes

Contents

class Midori::CleanRoom
  attr_accessor :code, :header, :body, :request
  def initialize(request)
    @status = 200
    @header = Midori::Const::DEFAULT_HEADER.clone
    @body = ''
    @request = request
  end

  def response
    Midori::Response.new(@status, @header, @body)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
em-midori-0.0.9 lib/em-midori/clean_room.rb
em-midori-0.0.8 lib/em-midori/clean_room.rb
em-midori-0.0.7.1 lib/em-midori/clean_room.rb
em-midori-0.0.7 lib/em-midori/clean_room.rb