lib/jamf/api/mixins/extendable.rb
def ext_attrs_unsaved_changes
      ext_attrs_to_update.map do |ea|
        [ea.name,
         {
           old: ea.unsaved_changes[:value][:old],
           new: ea.unsaved_changes[:value][:new]
         }]
      end.to_h
    end
# The Array of extensionAttributes converted to a Hash of
# 'Name' => value
The Array of extensionAttributes converted to a Hash of
'Name' => value
The Array of extensionAttributes converted to a Hash of ' Name ' = > value
def ext_attrs_unsaved_changes
      ext_attrs_to_update.map do |ea|
        [ea.name,
         {
           old: ea.unsaved_changes[:value][:old],
           new: ea.unsaved_changes[:value][:new]
         }]
      end.to_h
    end
def ext_attrs_unsaved_changes ext_attrs_to_update . map do | ea | [ ea . name , { old : ea . unsaved_changes [ :value ] [ :old ] , new : ea . unsaved_changes [ :value ] [ :new ] } ] end . to_h end
The Array of extensionAttributes converted to a Hash of
'Name' => value
The Array of extensionAttributes converted to a Hash of ' Name ' = > value