lib/the_help/service.rb in the_help-1.1.1 vs lib/the_help/service.rb in the_help-1.1.2
- old
+ new
@@ -170,9 +170,12 @@
private
attr_accessor :context, :logger, :not_authorized
attr_reader :inputs
+ alias service_context context
+ alias service_logger logger
+
def inputs=(inputs)
@inputs = inputs
inputs.each { |name, value| send("#{name}=", value) }
validate_inputs
end