lib/validators/phony_validator.rb in phony_rails-0.14.6 vs lib/validators/phony_validator.rb in phony_rails-0.14.7
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+
# Uses the Phony.plausible method to validate an attribute.
# Usage:
# validate :phone_number, :phony_plausible => true
require 'active_model'
class PhonyPlausibleValidator < ActiveModel::EachValidator