Sha256: 509e0ed42651f81c0a165ff0782f845133f0b10990a5f1ce79956c4d1352d3a4
Contents?: true
Size: 498 Bytes
Versions: 17
Compression:
Stored size: 498 Bytes
Contents
require 'fog/ecloud/models/compute/layout' module Fog module Compute class Ecloud class Layouts < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::Layout def all data = service.get_layouts(href).body load(data) end def get(uri) if data = service.get_layout(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