Skip to content

Commit

Permalink
Add delete method for Cloud Subnet
Browse files Browse the repository at this point in the history
  • Loading branch information
andyvesel committed May 15, 2017
1 parent 1d7cc86 commit c0d8975
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/models/cloud_subnet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ def self.class_by_ems(ext_management_system)
ext_management_system && ext_management_system.class::CloudSubnet
end

def delete_cloud_subnet
raw_delete_cloud_subnet
end

def raw_delete_cloud_subnet
raise NotImplementedError, _("raw_delete_subnet must be implemented in a subclass")
end

private

def extra_attributes_save(key, value)
Expand Down

0 comments on commit c0d8975

Please sign in to comment.