# File 'lib/day_offs/sources/validator.rb', line 5defvalidate_country(country)unlessDayOffs::Sources::Utils.valid_country_alpha2_code?(country)raiseDayOffs::Sources::Errors::IncorrectAlpha2CountryErrorendend
.validate_year(year) ⇒ Object
11
12
13
14
15
# File 'lib/day_offs/sources/validator.rb', line 11defvalidate_year(year)unlessDayOffs::Sources::Utils.valid_year?(year)raiseDayOffs::Sources::Errors::IncorrectYearErrorendend