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
34 35 36 |
# File 'lib/vas/gemfire/application_code_images.rb', line 34 def create(path, name, version) ApplicationCodeImage.new(client.post_image(location, path, { :name => name, :version => version }), client) end |