Sha256: 37f8c9bac0ecbf269793e06b79569d91261f480dbf021c8f23f85586dea34638

Contents?: true

Size: 512 Bytes

Versions: 4

Compression:

Stored size: 512 Bytes

Contents

module Fog
  module Compute
    class DigitalOceanV2
      class Image < Fog::Model
        identity :id
        attribute :name
        attribute :type
        attribute :distribution
        attribute :slug
        attribute :public
        attribute :regions
        attribute :min_disk_size
        attribute :created_at
      end

      def transfer
        perform_action :transfer_image
      end

      def convert_to_snapshot
        perform_action :convert_image_to_snapshot
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-1.38.0 lib/fog/digitalocean/models/compute_v2/image.rb
fog-1.37.0 lib/fog/digitalocean/models/compute_v2/image.rb
fog-1.36.0 lib/fog/digitalocean/models/compute_v2/image.rb
fog-1.35.0 lib/fog/digitalocean/models/compute_v2/image.rb