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/compute/models/brightbox/flavor.rb

33 lines
574 B
Ruby

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