class Fog::DNS::Google::Change

Represents a Change resource

@see developers.google.com/cloud-dns/api/v1beta1/changes

Constants

DONE_STATE
PENDING_STATE

Public Instance Methods

pending?() click to toggle source

Checks if the change operation is pending

@return [Boolean] True if the change operation is pending; False otherwise

# File lib/fog/google/models/dns/change.rb, line 26
def pending?
  self.status == PENDING_STATE
end
ready?() click to toggle source

Checks if the change operation is done

@return [Boolean] True if the change operation is done; False otherwise

# File lib/fog/google/models/dns/change.rb, line 34
def ready?
  self.status == DONE_STATE
end