Class: Fog::DNS::Google::Change
- Inherits:
-
Model
- Object
- Model
- Fog::DNS::Google::Change
- Defined in:
- lib/fog/google/models/dns/change.rb
Overview
Represents a Change resource
Constant Summary collapse
- DONE_STATE =
'done'
- PENDING_STATE =
'pending'
Instance Method Summary collapse
-
#pending? ⇒ Boolean
Checks if the change operation is pending.
-
#ready? ⇒ Boolean
Checks if the change operation is done.
Instance Method Details
#pending? ⇒ Boolean
Checks if the change operation is pending
26 27 28 |
# File 'lib/fog/google/models/dns/change.rb', line 26 def pending? self.status == PENDING_STATE end |
#ready? ⇒ Boolean
Checks if the change operation is done
34 35 36 |
# File 'lib/fog/google/models/dns/change.rb', line 34 def ready? self.status == DONE_STATE end |