Sha256: 588778bd1bf5877e61d4e5781f4d6a807c4177f20ffe3ee5dc05eaa8e5e85ddd
Contents?: true
Size: 653 Bytes
Versions: 29
Compression:
Stored size: 653 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 check_href! 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
29 entries across 29 versions & 3 rubygems