Sha256: e16b3bd23d49ed9546ce64346485224bcdba731c000a5af216bd0458458f0f34

Contents?: true

Size: 529 Bytes

Versions: 49

Compression:

Stored size: 529 Bytes

Contents

require 'fog/core/model'

module Fog
  module Compute
    class VirtualBox

      class MediumFormat < Fog::Model

        identity :id

        # attribute :capabilities
        attribute :name

        private

        def raw
          @raw
        end
        
        def raw=(new_raw)
          @raw = new_raw
          raw_attributes = {}
          for key in [:id, :name]
            raw_attributes[key] = @raw.send(key)
          end
          merge_attributes(raw_attributes)
        end

      end

    end
  end

end

Version data entries

49 entries across 49 versions & 14 rubygems

Version Path
fog-nirvanix-1.8.2 lib/fog/virtual_box/models/compute/medium_format.rb
fog-nirvanix-1.8.1 lib/fog/virtual_box/models/compute/medium_format.rb
fog-parser-fix-1.6.1 lib/fog/virtual_box/models/compute/medium_format.rb
fog-test-again-1.6.0 lib/fog/virtual_box/models/compute/medium_format.rb
fog-parser-fix-1.6.0 lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.9.0 lib/fog/virtual_box/models/compute/medium_format.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/virtual_box/models/compute/medium_format.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/virtual_box/models/compute/medium_format.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/virtual_box/models/compute/medium_format.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/virtual_box/models/compute/medium_format.rb
fog-sgonyea-1.8.1 lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.8.0 lib/fog/virtual_box/models/compute/medium_format.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.7.0 lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.6.0 lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.5.0 lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.4.0 lib/fog/virtual_box/models/compute/medium_format.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb
michiels-fog-1.3.1 lib/fog/virtual_box/models/compute/medium_format.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/virtual_box/models/compute/medium_format.rb