Sha256: c29da4baac54180edf6118a8e2a8787048e5e274c80c0ec530dc45ef820c2ba5

Contents?: true

Size: 438 Bytes

Versions: 108

Compression:

Stored size: 438 Bytes

Contents

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

Version data entries

108 entries across 108 versions & 18 rubygems

Version Path
fog-1.0.0 lib/fog/linode/models/compute/flavor.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/flavor.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/compute/models/linode/flavor.rb
fog-0.11.0 lib/fog/compute/models/linode/flavor.rb
fog-0.10.0 lib/fog/compute/models/linode/flavor.rb
fog4encbs-0.9.0.1 lib/fog/compute/models/linode/flavor.rb
fog4encbs-0.9.0 lib/fog/compute/models/linode/flavor.rb
fog-0.9.0 lib/fog/compute/models/linode/flavor.rb