Module: UltraDNSUpdater::Preconditions
- Included in:
- Strategies::UpdateStrategy, UltraDNS
- Defined in:
- lib/ultradns_updater/preconditions.rb
Instance Method Summary collapse
Instance Method Details
#not_empty(arg, msg = "Argument may not empty") ⇒ Object
22 23 24 |
# File 'lib/ultradns_updater/preconditions.rb', line 22 def not_empty(arg, msg = "Argument may not empty") raise msg if arg == nil || arg == '' end |
#precondition ⇒ Object
18 19 20 |
# File 'lib/ultradns_updater/preconditions.rb', line 18 def precondition self end |