Class: StudioApi::Appliance::Repository

Inherits:
ActiveResource::Base
  • Object
show all
Extended by:
StudioResource
Defined in:
lib/studio_api/appliance.rb

Overview

Represents repository assigned to appliance supports find :all and deleting from appliance

Instance Method Summary collapse

Methods included from StudioResource

collection_path, element_path, extended, studio_connection, studio_connection=

Instance Method Details

#destroyObject

for delete repository doesn't work clasic method from ARes



98
99
100
# File 'lib/studio_api/appliance.rb', line 98

def destroy
  self.class.appliance.remove_repository id
end