Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 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
You can’t perform that action at this time.