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/linode/flavor.rb
2011-05-24 18:05:30 -04:00

23 lines
438 B
Ruby

require 'fog/core/model'
module Fog
module Linode
class Compute
class Flavor < Fog::Model
identity :id
attribute :disk
attribute :name
attribute :ram
attribute :price
def cores
4 # linode always has 4 cores
end
def bits
0 # these are determined by images you select not the hardware
end
end
end
end
end