Sha256: d78cda526010d116cf16644e1c22d81b4561dab3c2560d0af5e764f1886f551d

Contents?: true

Size: 272 Bytes

Versions: 232

Compression:

Stored size: 272 Bytes

Contents

class Puppet::Network::HTTP::Response
  def initialize(handler, response)
    @handler = handler
    @response = response
  end

  def respond_with(code, type, body)
    @handler.set_content_type(@response, type)
    @handler.set_response(@response, body, code)
  end
end

Version data entries

232 entries across 232 versions & 2 rubygems

Version Path
puppet-retrospec-1.8.0 vendor/pup410/lib/puppet/network/http/response.rb
puppet-retrospec-1.7.0 vendor/pup410/lib/puppet/network/http/response.rb
puppet-4.10.12 lib/puppet/network/http/response.rb
puppet-4.10.12-x86-mingw32 lib/puppet/network/http/response.rb
puppet-4.10.12-x64-mingw32 lib/puppet/network/http/response.rb
puppet-4.10.12-universal-darwin lib/puppet/network/http/response.rb
puppet-4.10.11 lib/puppet/network/http/response.rb
puppet-4.10.11-x86-mingw32 lib/puppet/network/http/response.rb
puppet-4.10.11-x64-mingw32 lib/puppet/network/http/response.rb
puppet-4.10.11-universal-darwin lib/puppet/network/http/response.rb
puppet-4.10.10 lib/puppet/network/http/response.rb
puppet-4.10.10-x86-mingw32 lib/puppet/network/http/response.rb
puppet-4.10.10-x64-mingw32 lib/puppet/network/http/response.rb
puppet-4.10.10-universal-darwin lib/puppet/network/http/response.rb
puppet-retrospec-1.6.1 vendor/pup410/lib/puppet/network/http/response.rb
puppet-retrospec-1.6.0 vendor/pup410/lib/puppet/network/http/response.rb
puppet-4.10.9 lib/puppet/network/http/response.rb
puppet-4.10.9-x86-mingw32 lib/puppet/network/http/response.rb
puppet-4.10.9-x64-mingw32 lib/puppet/network/http/response.rb
puppet-4.10.9-universal-darwin lib/puppet/network/http/response.rb