app/models/manageiq/providers/kubevirt/refresh_memory.rb
#
# Saves this data to persistent storage.
#
Saves this data to persistent storage.
Saves this data to persistent storage .
def save
    json = {
      LISTS   => @lists,
      NOTICES => @notices.to_a.sort!
    }
    text = JSON.pretty_generate(json)
    File.write(file, text)
  end
def save json = { LISTS => @lists , NOTICES => @notices . to_a . sort! } text = JSON . pretty_generate ( json ) File . write ( file , text ) end
Saves this data to persistent storage.
Saves this data to persistent storage .
# Populate the JSON object from the instance variables: # Convert the JSON object to text and save it to the file: