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-7.34.0 lib/puppet/network/http/memory_response.rb
puppet-7.34.0-x86-mingw32 lib/puppet/network/http/memory_response.rb
puppet-7.34.0-x64-mingw32 lib/puppet/network/http/memory_response.rb
puppet-7.34.0-universal-darwin lib/puppet/network/http/memory_response.rb
puppet-7.33.0 lib/puppet/network/http/memory_response.rb
puppet-7.33.0-x86-mingw32 lib/puppet/network/http/memory_response.rb
puppet-7.33.0-x64-mingw32 lib/puppet/network/http/memory_response.rb
puppet-7.33.0-universal-darwin lib/puppet/network/http/memory_response.rb
puppet-7.32.1 lib/puppet/network/http/memory_response.rb
puppet-7.32.1-x86-mingw32 lib/puppet/network/http/memory_response.rb
puppet-7.32.1-x64-mingw32 lib/puppet/network/http/memory_response.rb
puppet-7.32.1-universal-darwin lib/puppet/network/http/memory_response.rb
puppet-7.31.0 lib/puppet/network/http/memory_response.rb
puppet-7.31.0-x86-mingw32 lib/puppet/network/http/memory_response.rb
puppet-7.31.0-x64-mingw32 lib/puppet/network/http/memory_response.rb
puppet-7.31.0-universal-darwin lib/puppet/network/http/memory_response.rb
puppet-7.30.0 lib/puppet/network/http/memory_response.rb
puppet-7.30.0-x86-mingw32 lib/puppet/network/http/memory_response.rb
puppet-7.30.0-x64-mingw32 lib/puppet/network/http/memory_response.rb
puppet-7.30.0-universal-darwin lib/puppet/network/http/memory_response.rb