Sha256: f448f11888f98ca3a6be963ed1ddddf7282ba09e111a7bffdb46d933094ca99a
Contents?: true
Size: 545 Bytes
Versions: 38
Compression:
Stored size: 545 Bytes
Contents
require 'fog/core/collection' require 'fog/ninefold/models/compute/flavor' module Fog module Compute class Ninefold class Flavors < Fog::Collection model Fog::Compute::Ninefold::Flavor def all data = connection.list_service_offerings load(data) end def get(identifier) data = connection.list_service_offerings(:id => identifier) if data.empty? nil else new(data[0]) end end end end end end
Version data entries
38 entries across 38 versions & 13 rubygems