Sha256: 4a71476d8e7b3ebe7125253a7cf04251e9e40e2f9932a168abd018319290c088

Contents?: true

Size: 257 Bytes

Versions: 8

Compression:

Stored size: 257 Bytes

Contents

require "getto/initialize_with"

module Monban
  module UseCase
    class Base
      include Getto::InitializeWith

      private

        def param_error!(params)
          error.invalid_params! params.map{|k,v| "#{k}: #{v}"}
        end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
monban-core-1.2.4 lib/monban/use_case/base.rb
monban-core-1.2.3 lib/monban/use_case/base.rb
monban-core-1.2.2 lib/monban/use_case/base.rb
monban-core-1.1.0 lib/monban/use_case/base.rb
monban-core-1.0.3 lib/monban/use_case/base.rb
monban-core-1.0.2 lib/monban/use_case/base.rb
monban-core-1.0.0 lib/monban/use_case/base.rb
monban-core-0.1.0 lib/monban/use_case/base.rb