Method: OpenNebula::MarketPlaceApp#update

Defined in:
lib/opennebula/marketplaceapp.rb

#update(new_template, append = false) ⇒ nil, OpenNebula::Error

Replaces the template contents

Parameters:

  • new_template (String)

    New template contents

  • append (true, false) (defaults to: false)

    True to append new attributes instead of replace the whole template

Returns:



123
124
125
# File 'lib/opennebula/marketplaceapp.rb', line 123

def update(new_template, append = false)
    super(MARKETPLACEAPP_METHODS[:update], new_template, append ? 1 : 0)
end