Sha256: b2f09a1d2c70c50160ce5285a224e27a67bb7d44275a8f0b900a5cf4259d6bab
Contents?: true
Size: 629 Bytes
Versions: 9
Compression:
Stored size: 629 Bytes
Contents
require 'fog/vcloud/terremark/ecloud/models/task' module Fog class Vcloud module Terremark class Ecloud class Tasks < Fog::Vcloud::Collection model Fog::Vcloud::Terremark::Ecloud::Task attribute :href, :aliases => :Href def all if data = connection.get_task_list(href).body[:Task] load(data) end end def get(uri) if data = connection.get_task(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems