Sha256: 50d0c28f618b6f12e28d6e4344fa1cee4077c9e8db84e6b2ec8a9ac69579c731
Contents?: true
Size: 487 Bytes
Versions: 26
Compression:
Stored size: 487 Bytes
Contents
module Eco module API class Error class Handler < Eco::API::UseCases::UseCase @types = [:transform] def initialize(name, type: :transform, root:, &block) super(name, type: type, root: root, &block) end def root=(value) raise "Root should be a Eco::API::Error::Handlers object. Given: #{value}" if !value.is_a?(Eco::API::Error::Handlers) @root = value end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems