Method: Puppet::FileServing::Base#to_pson_data_hash
- Defined in:
- lib/vendor/puppet/file_serving/base.rb
#to_pson_data_hash ⇒ Object
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/vendor/puppet/file_serving/base.rb', line 71 def to_pson_data_hash { # No 'document_type' since we don't send these bare 'data' => { 'path' => @path, 'relative_path' => @relative_path, 'links' => @links }, 'metadata' => { 'api_version' => 1 } } end |