Sha256: 5cfa94a4ceb1027a45021aa7c4da0a962804c693a79a533423c5adfab3a0edca
Contents?: true
Size: 970 Bytes
Versions: 85
Compression:
Stored size: 970 Bytes
Contents
module Fog module Compute class Ecloud class TrustedNetworkGroup < Fog::Ecloud::Model identity :href attribute :name, :aliases => :Name attribute :type, :aliases => :Type attribute :other_links, :aliases => :Links attribute :hosts, :aliases => :Hosts def internet_services @internet_services ||= Fog::Compute::Ecloud::InternetServices.new(:service => service, :href => href) end def edit(options) options[:uri] = href data = service.trusted_network_groups_edit(options).body task = Fog::Compute::Ecloud::Tasks.new(:service => service, :href => data[:href])[0] end def delete data = service.trusted_network_groups_delete(href).body task = Fog::Compute::Ecloud::Tasks.new(:service => service, :href => data[:href])[0] end def id href.scan(/\d+/)[0] end end end end end
Version data entries
85 entries across 85 versions & 10 rubygems