Sha256: 150ba7b4ecd32fe0fa9dfa91fef19a18d89cbff39b1b3c3bd70c4faf0cb13a28
Contents?: true
Size: 915 Bytes
Versions: 14
Compression:
Stored size: 915 Bytes
Contents
module Fog module DNS class Google ## # Represents a Change resource # # @see https://developers.google.com/cloud-dns/api/v1/changes class Change < Fog::Model identity :id attribute :kind attribute :start_time, :aliases => "startTime" attribute :status attribute :additions attribute :deletions DONE_STATE = "done" PENDING_STATE = "pending" ## # Checks if the change operation is pending # # @return [Boolean] True if the change operation is pending; False otherwise def pending? status == PENDING_STATE end ## # Checks if the change operation is done # # @return [Boolean] True if the change operation is done; False otherwise def ready? status == DONE_STATE end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems