Sha256: e45c577e338889b87f5ddf4ca0abe601677837bb53a7a6220bba37c2d0423d4b
Contents?: true
Size: 265 Bytes
Versions: 1
Compression:
Stored size: 265 Bytes
Contents
module MiniCamel class Interactor include Virtus.value_object include ActiveModel::Validations def call raise InvalidInteractor, "Invalid interactor '#{self.class.name}': #{self.errors.full_messages}." if invalid? run end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mini_camel-0.5.8 | lib/mini_camel/interactor.rb |