lib/eco/api/common/loaders/base.rb in eco-helpers-2.6.1 vs lib/eco/api/common/loaders/base.rb in eco-helpers-2.6.2
- old
+ new
@@ -30,9 +30,14 @@
raise "You should implement this method"
end
private
+ def simulate?
+ options.dig(:simulate) || options.dig(:dry_run)
+ end
+ alias_method :dry_run?, :simulate?
+
def session
@session ||= ASSETS.session
end
def options