Sha256: 0ab53e8525a194f30a205e490dc7df1042186d43fe47175f109e50c1245598a5
Contents?: true
Size: 495 Bytes
Versions: 186
Compression:
Stored size: 495 Bytes
Contents
module Eco module API class Error class Handler < Eco::API::UseCases::UseCase @types = [:error_handler] def initialize(name, type: :error_handler, 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
186 entries across 186 versions & 1 rubygems