Sha256: a67aab37b33d7dc7bb59614a4a8770113ee88f9b6f5f997ed558425c18ad2350
Contents?: true
Size: 599 Bytes
Versions: 15
Compression:
Stored size: 599 Bytes
Contents
require 'fog/core/model' module Fog module Terremark module Shared class Network < Fog::Model identity :id attribute :name attribute :subnet attribute :gateway attribute :netmask attribute :fencemode attribute :links def ips #Until there is a real model for these ? connection.get_network_ips(@id).body['IpAddresses'] end private def href=(new_href) @id = new_href.split('/').last.to_i end def type=(new_type); end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems