Sha256: 0e4a572758def71bda390199806ba47d9c829ee3cdffcd90c331de38e97a3706

Contents?: true

Size: 583 Bytes

Versions: 1

Compression:

Stored size: 583 Bytes

Contents

require 'rackspace-fog/core/model'

module Fog
  module Compute
    class Brightbox

      class Flavor < Fog::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
          0 # This is actually based on the Image type used. 32bit or 64bit Images are supported
        end

      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rackspace-fog-1.4.2 lib/rackspace-fog/brightbox/models/compute/flavor.rb