Sha256: 6f943dfaa21932510f6f19fcb9e8f99a03e8662a1da578e89fc3b2b3a64d31d4

Contents?: true

Size: 555 Bytes

Versions: 11

Compression:

Stored size: 555 Bytes

Contents

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

        attribute :name
        attribute :status
        attribute :description

        attribute :handle

        attribute :bits
        attribute :cores
        attribute :disk, :aliases => "disk_size"
        attribute :ram

        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.6.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.5.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.5.0.rc1 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.4.2 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.4.1 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.4.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.3.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.2.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.1.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.0.0 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-1.0.0.rc2 lib/fog/brightbox/models/compute/flavor.rb