Method: Gemfire::ApplicationCodeImages#create

Defined in:
lib/vas/gemfire/application_code_images.rb

#create(path, name, version) ⇒ ApplicationCodeImage

Creates a new application code image by uploading a file and assigning it a name and version

Parameters:

  • the path of the file to upload

  • the name of the application code

  • the version of the application code

Returns:

  • the new application code image



34
35
36
# File 'lib/vas/gemfire/application_code_images.rb', line 34

def create(path, name, version)
  create_image(path, { :name => name, :version => version })
end