Sha256: 1f7d1533bad0f2a2039b57de97cdd7c4c6cac1c7ef2d7d6cc1cd71e6129226b4
Contents?: true
Size: 735 Bytes
Versions: 29
Compression:
Stored size: 735 Bytes
Contents
require 'fog/vcloud/terremark/ecloud/models/node' module Fog class Vcloud module Terremark class Ecloud class Nodes < Fog::Vcloud::Collection model Fog::Vcloud::Terremark::Ecloud::Node attribute :href, :aliases => :Href def all check_href!( :messages => "the Nodes href of the Internet Service you want to enumerate" ) if data = connection.get_nodes(href).body[:NodeService] load(data) end end def get(uri) if data = connection.get_node(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end end
Version data entries
29 entries across 29 versions & 3 rubygems