lib/openactive/validators/number_validator.rb in openactive-0.4.0 vs lib/openactive/validators/number_validator.rb in openactive-0.5.0
- old
+ new
@@ -1,4 +1,6 @@
+require 'bigdecimal'
+
module OpenActive
module Validators
class NumberValidator < BaseValidator
# Coerce given value to the type the validator is validating against.
# PLEASE NOTE: no checks are performed on the given value.