Sha256: 0f79c4cb0aeaeccb8c9219e54391c454413d0fa2d6c8715bbd6d3f84f3830e87
Contents?: true
Size: 467 Bytes
Versions: 23
Compression:
Stored size: 467 Bytes
Contents
require "fog/brightbox/models/compute/flavor" module Fog module Brightbox class Compute class Flavors < Fog::Collection model Fog::Brightbox::Compute::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
23 entries across 23 versions & 1 rubygems