Sha256: 4f439908518df0feb2737dcb8882e30ddfe6329c76046960444a3aa35a8b8acd
Contents?: true
Size: 392 Bytes
Versions: 2
Compression:
Stored size: 392 Bytes
Contents
module Fog module Compute module Terremark class Address < Fog::Model identity :id attribute :ip, :aliases => 'name' def destroy requires :id service.delete_public_ip(id) true end private def href=(new_href) self.id = new_href.split('/').last.to_i end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-terremark-0.0.2 | lib/fog/compute/terremark/models/address.rb |
fog-terremark-0.0.1 | lib/fog/compute/terremark/models/address.rb |