class Puppet::Network::HTTP::MemoryResponse

Attributes

body[R]
code[R]
type[R]

Public Instance Methods

respond_with(code, type, body) click to toggle source
# File lib/puppet/network/http/memory_response.rb, line 8
def respond_with(code, type, body)
  @code = code
  @type = type
  @body += body
end

Public Class Methods

new() click to toggle source
# File lib/puppet/network/http/memory_response.rb, line 4
def initialize
  @body = ""
end