Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 269 Bytes
module Mutations
class Outcome
attr_reader :result, :errors, :inputs
def initialize(is_success, result, errors, inputs)
@success, @result, @errors, @inputs = is_success, result, errors, inputs
end
def success?
@success
end
end
end