module Twitch
  class Route
    class << self
      def list
        @routes ||= []
      end

      def add(path, status:, location: nil)
        route = { path: path, status: status, location: location }
        list.push(route)
      end
    end
  end
end
