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

23 lines
438 B
Ruby

require 'fog/core/model'
module Fog
module Compute
class Linode
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