Sha256: 48a1a3e03eb5bda7f3a2ef462bbb80298ced9d28e947bceeb185e8e29c288004
Contents?: true
Size: 603 Bytes
Versions: 6
Compression:
Stored size: 603 Bytes
Contents
require File.expand_path("../operating_system_family", __FILE__) module Fog module Compute class Ecloud class OperatingSystemFamilies < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::OperatingSystemFamily def all data = service.get_operating_system_families(href).body[:OperatingSystemFamily] load(data) end def get(uri) if data = service.get_operating_system(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems