Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Brightbox::Flavors

Public Instance Methods

all() click to toggle source
# File lib/fog/brightbox/models/compute/flavors.rb, line 12
def all
  data = service.list_server_types
  load(data)
end
get(identifier) click to toggle source
# File lib/fog/brightbox/models/compute/flavors.rb, line 17
def get(identifier)
  data = service.get_server_type(identifier)
  new(data)
rescue Excon::Errors::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.