Sha256: 71a4a1acb1ffedf191e9cbe5faf3c851dc85fa23d0871db30333816891b91e27
Contents?: true
Size: 580 Bytes
Versions: 30
Compression:
Stored size: 580 Bytes
Contents
module Fog module Vcloud module Terremark module 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
30 entries across 30 versions & 2 rubygems