1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/brightbox/models/compute/flavor.rb

32 lines
573 B
Ruby

require 'fog/core/model'
module Fog
module Compute
class Brightbox
class Flavor < Fog::Model
identity :id
attribute :url
attribute :resource_type
attribute :name
attribute :status
attribute :description
attribute :handle
attribute :bits
attribute :cores
attribute :disk, :aliases => "disk_size"
attribute :ram
def bits
0 # This is actually based on the Image type used. 32bit or 64bit Images are supported
end
end
end
end
end