Sha256: 514efd8166dd233f138ebcd079d51dd3e95e8d8c4091c889cc3a16f37830b102
Contents?: true
Size: 501 Bytes
Versions: 78
Compression:
Stored size: 501 Bytes
Contents
require 'fog/core/collection' require 'fog/brightbox/models/compute/flavor' module Fog module Compute class Brightbox class Flavors < Fog::Collection model Fog::Compute::Brightbox::Flavor def all data = service.list_server_types load(data) end def get(identifier) data = service.get_server_type(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
78 entries across 78 versions & 7 rubygems