Sha256: a6f0582fbb85f002420f46c34bc4ccf9fce8c7c02429220db112442fcbdd35db
Contents?: true
Size: 401 Bytes
Versions: 65
Compression:
Stored size: 401 Bytes
Contents
require 'fog/model' module Fog module Terremark module Shared class Address < Fog::Model identity :id attribute :ip, 'name' def destroy requires :id connection.delete_public_ip(@id) true end private def href=(new_href) @id = new_href.split('/').last.to_i end end end end end
Version data entries
65 entries across 65 versions & 2 rubygems