Class: HitCounter::UrlValidator
- Inherits:
-
ActiveModel::EachValidator
- Object
- ActiveModel::EachValidator
- HitCounter::UrlValidator
- Defined in:
- lib/hit_counter.rb
Overview
Validates the HitCounter
‘s URL.
If the URI library can parse the value and the scheme is valid, then we assume the url is valid.