lib/the_help/service.rb in the_help-3.3.2 vs lib/the_help/service.rb in the_help-3.4.0
- old
+ new
@@ -347,7 +347,11 @@
callback.call(*args)
true
end
self.stop_caller ||= !continue
end
+
+ def delegate_to_service(*args)
+ call_service(*args) { |result| @result = result }
+ end
end
end