Sha256: 3a5102fcbb565d23655dd938a5599a51ae701fa849eca64f88077563b0d37d26

Contents?: true

Size: 586 Bytes

Versions: 1

Compression:

Stored size: 586 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
          64 # 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
fog-brightbox-0.7.2 lib/fog/brightbox/models/compute/flavor.rb