class Puppet::Network::HTTP::MemoryResponse
Attributes
body[R]
code[R]
type[R]
Public Class Methods
new()
click to toggle source
# File lib/puppet/network/http/memory_response.rb 5 def initialize 6 @body = String.new 7 end
Public Instance Methods
respond_with(code, type, body)
click to toggle source
# File lib/puppet/network/http/memory_response.rb 9 def respond_with(code, type, body) 10 @code = code 11 @type = type 12 @body += body 13 end