module Operation::Responder
Public Class Methods
included(base)
click to toggle source
# File lib/trailblazer/operation/responder.rb, line 2 def self.included(base) base.extend ClassMethods end
Public Instance Methods
errors()
click to toggle source
# File lib/trailblazer/operation/responder.rb, line 15 def errors return [] if @valid [1] end
to_model()
click to toggle source
# File lib/trailblazer/operation/responder.rb, line 20 def to_model @model end