Sha256: fbdda8c042df798e3c5ab523ec049d0495f3d58844ac0ac7596e99add38b1e27
Contents?: true
Size: 555 Bytes
Versions: 13
Compression:
Stored size: 555 Bytes
Contents
require 'fog/ecloud/models/compute/guest_process' module Fog module Compute class Ecloud class GuestProcesses < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::GuestProcess def all data = connection.get_guest_processes(href).body[:GuestProcess] load(data) end def get(uri) if data = connection.get_guest_process(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
13 entries across 13 versions & 7 rubygems