Sha256: d6fdfc8ad6fd06bf99f98361d7a343052680da465972710c199e1359e99d29c6

Contents?: true

Size: 217 Bytes

Versions: 747

Compression:

Stored size: 217 Bytes

Contents

class Puppet::Network::HTTP::MemoryResponse
  attr_reader :code, :type, :body

  def initialize
    @body = ""
  end

  def respond_with(code, type, body)
    @code = code
    @type = type
    @body += body
  end
end

Version data entries

747 entries across 747 versions & 3 rubygems

Version Path
puppet-3.5.1.rc1-x86-mingw32 lib/puppet/network/http/memory_response.rb
puppet-3.5.0.rc3 lib/puppet/network/http/memory_response.rb
puppet-3.5.0.rc3-x86-mingw32 lib/puppet/network/http/memory_response.rb
puppet-3.5.0.rc2 lib/puppet/network/http/memory_response.rb
puppet-3.5.0.rc2-x86-mingw32 lib/puppet/network/http/memory_response.rb
puppet-3.5.0.rc1 lib/puppet/network/http/memory_response.rb
puppet-3.5.0.rc1-x86-mingw32 lib/puppet/network/http/memory_response.rb