Sha256: 5ed29e5b9efc0055f6bf1f5f6d956e7e99ece25b0c1b81c40971aee4d84e3deb

Contents?: true

Size: 574 Bytes

Versions: 38

Compression:

Stored size: 574 Bytes

Contents

require 'fog/core/model'

module Fog
  module Brightbox
    class Compute

      class Flavor < Fog::Model

        identity :id

        attribute :url
        attribute :name
        attribute :status

        attribute :handle

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

        attribute :resource_type
        attribute :description

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

      end

    end
  end
end

Version data entries

38 entries across 38 versions & 3 rubygems

Version Path
fog-0.8.2 lib/fog/compute/models/brightbox/flavor.rb
fog-0.8.1 lib/fog/compute/models/brightbox/flavor.rb
fog-0.8.0 lib/fog/compute/models/brightbox/flavor.rb
fog-0.7.2 lib/fog/compute/models/brightbox/flavor.rb
fog-0.7.1 lib/fog/compute/models/brightbox/flavor.rb
fog-0.7.0 lib/fog/compute/models/brightbox/flavor.rb
bbcloud-0.11.2 lib/bbcloud/vendor/fog/lib/fog/compute/models/brightbox/flavor.rb
bbcloud-0.11.1 lib/bbcloud/vendor/fog/lib/fog/compute/models/brightbox/flavor.rb
bbcloud-0.11.0 lib/bbcloud/vendor/fog/lib/fog/compute/models/brightbox/flavor.rb
fog-0.6.0 lib/fog/compute/models/brightbox/flavor.rb
fog-0.5.3 lib/fog/compute/models/brightbox/flavor.rb
fog-0.5.2 lib/fog/compute/models/brightbox/flavor.rb
fog-0.5.1 lib/fog/compute/models/brightbox/flavor.rb
fog-0.5.0 lib/fog/compute/models/brightbox/flavor.rb
phpfog-fog-0.4.1.3 lib/fog/compute/models/brightbox/flavor.rb
phpfog-fog-0.4.1.2 lib/fog/compute/models/brightbox/flavor.rb
phpfog-fog-0.4.1.1 lib/fog/compute/models/brightbox/flavor.rb
phpfog-fog-0.4.1 lib/fog/compute/models/brightbox/flavor.rb
fog-0.4.1 lib/fog/compute/models/brightbox/flavor.rb
fog-0.4.0 lib/fog/brightbox/models/compute/flavor.rb