class Dry::Logic::Result
def initialize(response, rule, input)
def initialize(response, rule, input) @response = response @success = response.respond_to?(:success?) ? response.success? : response @rule = rule @input = input end
def initialize(response, rule, input) @response = response @success = response.respond_to?(:success?) ? response.success? : response @rule = rule @input = input end