Sha256: 576a4f587233284f50fa1457a58bbc85721000b26501001a382a9594b893914f
Contents?: true
Size: 559 Bytes
Versions: 17
Compression:
Stored size: 559 Bytes
Contents
require 'fog/ecloud/models/compute/hardware_configuration' module Fog module Compute class Ecloud class HardwareConfigurations < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::HardwareConfiguration def all data = service.get_server(href).body load(data) end def get(uri) if data = service.get_hardware_configuration(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
17 entries across 17 versions & 5 rubygems