Class: Fog::Terremark::Shared::Address

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/terremark/models/shared/address.rb

Instance Attribute Summary

Attributes inherited from Model

#connection

Instance Method Summary collapse

Methods inherited from Model

#_dump, _load, aliases, attribute, attributes, #attributes, #collection, identity, #identity, #identity=, #initialize, #inspect, #merge_attributes, #new_record?, #reload, #requires, #to_json, #wait_for

Constructor Details

This class inherits a constructor from Fog::Model

Instance Method Details

#destroyObject



13
14
15
16
17
# File 'lib/fog/terremark/models/shared/address.rb', line 13

def destroy
 requires :id
 connection.delete_public_ip(@id)
 true
end