Method: Shared::InstallationImages#create

Defined in:
lib/vas/shared/installation_images.rb

#create(path, version) ⇒ InstallationImage

Creates an installation image by uploading a file to the server and assigning it a version



33
34
35
# File 'lib/vas/shared/installation_images.rb', line 33

def create(path, version)
  entry_class.new(client.post_image(location, path, { :version => version }), client)
end