summaryrefslogtreecommitdiff
path: root/lib/nickserver/response.rb
blob: c55d35907be0d64efc04a383a791f23d399a32e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Nickserver
  class Response

    attr_reader :status, :message

    def initialize(status, message)
      @status = status
      @message = message
    end

    def content
      "#{status} #{message}"
    end
  end
end