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
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.3.1 lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.3.0 lib/fog/virtual_box/models/compute/medium_format.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.2.0 lib/fog/virtual_box/models/compute/medium_format.rb
ktheory-fog-1.1.2 lib/fog/virtual_box/models/compute/medium_format.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.1.2 lib/fog/virtual_box/models/compute/medium_format.rb
fog_tractical-1.1.4 lib/fog/virtual_box/models/compute/medium_format.rb
fog_tractical-1.1.3 lib/fog/virtual_box/models/compute/medium_format.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.1.1 lib/fog/virtual_box/models/compute/medium_format.rb
fog-1.1.0 lib/fog/virtual_box/models/compute/medium_format.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb
tag-fog-1.0.1 lib/fog/virtual_box/models/compute/medium_format.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/models/compute/medium_format.rb