class Fog::Rackspace::CDNV2::Flavors
Public Instance Methods
all()
click to toggle source
# File lib/fog/rackspace/models/cdn_v2/flavors.rb, line 10 def all data = service.list_flavors.body['flavors'] load(data) end
get(name)
click to toggle source
# File lib/fog/rackspace/models/cdn_v2/flavors.rb, line 15 def get(name) data = service.get_flavor(name).body new(data) rescue Fog::Rackspace::CDNV2::NotFound nil end