Class: DnsMadeEasy::Zone::Plan
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- DnsMadeEasy::Zone::Plan
- Defined in:
- lib/dnsmadeeasy/zone/plan.rb
Overview
Diff result describing intended changes without applying them.
Instance Method Summary collapse
Instance Method Details
#actions ⇒ Object
18 19 20 |
# File 'lib/dnsmadeeasy/zone/plan.rb', line 18 def actions [creates, updates, skipped_deletes, ambiguous].flatten.sort_by(&:sort_key) end |
#empty? ⇒ Boolean
22 23 24 |
# File 'lib/dnsmadeeasy/zone/plan.rb', line 22 def empty? creates.empty? && updates.empty? && skipped_deletes.empty? && ambiguous.empty? end |