module YmlErrorResponder

Constants

VERSION

Attributes

configuration_path[RW]
handle_unknown_error[RW]
unknown_error_logger[RW]

Public Class Methods

log_unknown_error_with(&block) click to toggle source
# File lib/yml_error_responder.rb, line 23
def log_unknown_error_with(&block)
  @unknown_error_logger = block
end
routes(application) click to toggle source
# File lib/yml_error_responder.rb, line 27
def routes(application)
  unless Rails.env.production?
    application.mount YmlErrorResponder::Engine => "/api/yml_error_responder"
  end
end
setup() { |self| ... } click to toggle source
# File lib/yml_error_responder.rb, line 19
def setup
  yield self
end