lib/convenient_service/dependencies.rb in convenient_service-0.7.0 vs lib/convenient_service/dependencies.rb in convenient_service-0.8.0
- old
+ new
@@ -75,9 +75,17 @@
require_relative "service/plugins/has_result_params_validations/using_dry_validation"
end
##
# @return [Boolean]
+ # @note Expected to be called from app entry points like `initializers` in Rails.
+ #
+ def require_rescues_result_unhandled_exceptions
+ require_relative "service/plugins/rescues_result_unhandled_exceptions"
+ end
+
+ ##
+ # @return [Boolean]
# @note Expected to be called from `irb`, `pry`, `spec_helper.rb`, etc.
#
def require_development_tools
require "awesome_print"
require "byebug"