Sha256: 236a19e81e099b20ec0b9a131e12903be850beb2355dd114b5c032fe0c3f2831

Contents?: true

Size: 585 Bytes

Versions: 3

Compression:

Stored size: 585 Bytes

Contents

require "fog/brightbox/model"

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-brightbox-0.7.1/lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-0.7.1 lib/fog/brightbox/models/compute/flavor.rb
fog-brightbox-0.7.0 lib/fog/brightbox/models/compute/flavor.rb