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