Sha256: a3de3c58fe76bc2cc85fa2febc7a2118f4432f49f43e4ced1657a318312edc35

Contents?: true

Size: 553 Bytes

Versions: 11

Compression:

Stored size: 553 Bytes

Contents

module Fog
  module Brightbox
    class Compute
      class Flavor < Fog::Brightbox::Model
        identity :id
        attribute :resource_type
        attribute :url

        attribute :name
        attribute :status

        attribute :handle

        attribute :bits
        attribute :cores
        attribute :disk, aliases: "disk_size"
        attribute :ram
        attribute :storage_type

        def bits
          64 # This is actually based on the Image type used. 32bit or 64bit Images are supported
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fog-brightbox-1.11.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.10.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.9.1 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.9.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.8.2 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.8.1 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.8.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.7.3 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.7.2 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.7.1 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.7.0 lib/fog/brightbox/models/compute/flavor.rb