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



100
101
102
# File 'lib/studio_api/appliance.rb', line 100

def destroy
  self.class.appliance.remove_repository id
end