Sha256: a240832e994d9790fd50249218b95ad3fcd01be36fb7a5f22a8040238efae75a
Contents?: true
Size: 636 Bytes
Versions: 8
Compression:
Stored size: 636 Bytes
Contents
require 'lib/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 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
8 entries across 8 versions & 1 rubygems