Sha256: c5744e2d7d641797f8b93fd1328161eff8b441028cc6b547ddf155b283f6c7c4

Contents?: true

Size: 574 Bytes

Versions: 5

Compression:

Stored size: 574 Bytes

Contents

require 'fog/core/model'

module Fog
  module Compute
    class Brightbox

      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

5 entries across 5 versions & 2 rubygems

Version Path
fog-0.11.0 lib/fog/compute/models/brightbox/flavor.rb
fog-0.10.0 lib/fog/compute/models/brightbox/flavor.rb
fog4encbs-0.9.0.1 lib/fog/compute/models/brightbox/flavor.rb
fog4encbs-0.9.0 lib/fog/compute/models/brightbox/flavor.rb
fog-0.9.0 lib/fog/compute/models/brightbox/flavor.rb