Class: DnsMadeEasy::Zone::PlanAction
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- DnsMadeEasy::Zone::PlanAction
- Defined in:
- lib/dnsmadeeasy/zone/plan_action.rb
Overview
A single proposed zone-management action.
Constant Summary collapse
- ACTION_TYPES =
%w[create update skipped_delete ambiguous].freeze
Instance Method Summary collapse
Instance Method Details
#sort_key ⇒ Object
21 22 23 24 25 26 |
# File 'lib/dnsmadeeasy/zone/plan_action.rb', line 21 def sort_key [ ACTION_TYPES.index(action), (record || desired_record || remote_record)&.sort_key || [] ] end |