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