Sha256: 9e490883d6b5c4fba53a2acdd8a8f07a81a527b52c665374070605ac54db48a5
Contents?: true
Size: 495 Bytes
Versions: 8
Compression:
Stored size: 495 Bytes
Contents
require 'puppet/indirector/status' require 'puppet/indirector/rest' class Puppet::Resource::Rest < Puppet::Indirector::REST desc "Maniuplate resources remotely? Undocumented." private def deserialize_save(content_type, body) # Body is [ral_res.to_resource, transaction.report] format = Puppet::Network::FormatHandler.format_for(content_type) ary = format.intern(Array, body) [Puppet::Resource.from_pson(ary[0]), Puppet::Transaction::Report.from_pson(ary[1])] end end
Version data entries
8 entries across 8 versions & 1 rubygems