1 2 3 4 5 6 7 8 9 10 11
require 'nickserver/response' module Nickserver class ErrorResponse < Nickserver::Response def initialize(message) @status = 500 @message = message + "\n" end end end