mirror of
https://github.com/cmur2/openvpn-status-web.git
synced 2025-08-12 12:48:39 +02:00
Refactor V2 and V3 parser into one
This commit is contained in:
12
lib/openvpn-status-web/parser/v3.rb
Normal file
12
lib/openvpn-status-web/parser/v3.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
require 'openvpn-status-web/parser/modern_stateless'
|
||||
|
||||
module OpenVPNStatusWeb
|
||||
module Parser
|
||||
class V3
|
||||
def parse_status_log(text)
|
||||
OpenVPNStatusWeb::Parser::ModernStateless.parse_status_log(text, "\t")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user