Sha256: bcf7ed767f432d2c34c27fec4d52616c934868528f90ce1a30d2ba6b0158b31e
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 Bytes
Contents
require 'rackspace-fog/core/collection' require 'rackspace-fog/brightbox/models/compute/flavor' module Fog module Compute class Brightbox class Flavors < Fog::Collection model Fog::Compute::Brightbox::Flavor def all data = connection.list_server_types load(data) end def get(identifier) data = connection.get_server_type(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rackspace-fog-1.4.2 | lib/rackspace-fog/brightbox/models/compute/flavors.rb |