Sha256: 323f6460deb95182b60af96b55d67890a7db5e6aded0b52df1b1c080617314b8
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
require "vcloud_ipsec-vpn/version" require 'kwalify' module Vpnconfig class Validator def validate_yaml(yaml) schema = Kwalify::Yaml.load_file('lib/vpn-configuration-schema.yaml') validator = Kwalify::Validator.new(schema) errors = validator.validate(yaml) errors end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vcloud_ipsec-vpn-0.1.1 | lib/validator.rb |