Sha256: f440489885a378d69187f90947debccc3af2e457553634f7d103e6c1236d63c6
Contents?: true
Size: 733 Bytes
Versions: 1
Compression:
Stored size: 733 Bytes
Contents
require 'fog/core/model' module Fog module Compute class RackspaceV2 class Image < Fog::Model UNKNOWN = 'UNKNOWN' ACTIVE = 'ACTIVE' SAVING = 'SAVING' ERROR = 'ERROR' DELETED = 'DELETED' identity :id attribute :name attribute :created attribute :updated attribute :state, :aliases => 'status' attribute :user_id attribute :tenant_id attribute :progress attribute :minDisk attribute :minRam attribute :metadata attribute :disk_config, :aliases => 'OS-DCF:diskConfig' attribute :links def ready? self.state == ACTIVE end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-sgonyea-1.8.1 | lib/fog/rackspace/models/compute_v2/image.rb |