Sha256: eb7cbd3918ac6b139f9a0acd9b4405fdb8e8477fa9e7ea954558ad9970b86b16

Contents?: true

Size: 465 Bytes

Versions: 16

Compression:

Stored size: 465 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 :transfer
        attribute :price
        attribute :price_hourly
        attribute :cores
        attribute :available

        def bits
          0 # these are determined by images you select not the hardware
        end
      end
    end
  end
end

Version data entries

16 entries across 14 versions & 3 rubygems

Version Path
fog-2.3.0 lib/fog/linode/models/compute/flavor.rb
fog-ifeel-2.2.0 lib/fog/linode/models/compute/flavor.rb
fog-2.2.0 lib/fog/linode/models/compute/flavor.rb
fog-2.1.0 lib/fog/linode/models/compute/flavor.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/lib/fog/linode/models/compute/flavor.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/lib/fog/linode/models/compute/flavor.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/lib/fog/linode/models/compute/flavor.rb
fog-1.42.1 lib/fog/linode/models/compute/flavor.rb
fog-2.0.0 lib/fog/linode/models/compute/flavor.rb
fog-1.42.0 lib/fog/linode/models/compute/flavor.rb
fog-1.41.0 lib/fog/linode/models/compute/flavor.rb
fog-1.40.0 lib/fog/linode/models/compute/flavor.rb
fog-1.39.0 lib/fog/linode/models/compute/flavor.rb
fog-1.38.0 lib/fog/linode/models/compute/flavor.rb
fog-1.37.0 lib/fog/linode/models/compute/flavor.rb
fog-1.36.0 lib/fog/linode/models/compute/flavor.rb