Class: Shared::PendingConfigurations

Inherits:
MutableCollection show all
Defined in:
lib/vas/shared/pending_configuration.rb

Instance Attribute Summary

Attributes inherited from Resource

#location, #security

Instance Method Summary collapse

Methods inherited from MutableCollection

#delete

Methods inherited from Collection

#each

Instance Method Details

#create(path, content) ⇒ Object

Creates a configuration with the given path in the instance and the given content



23
24
25
# File 'lib/vas/shared/pending_configuration.rb', line 23

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