lib/nds_api/validator.rb in nds_api-0.1.20 vs lib/nds_api/validator.rb in nds_api-0.1.21

- old
+ new

@@ -20,42 +20,44 @@ def is_valid_field?(field) valid_fields.include?(field.to_s) end def valid_fields - %w[agesServiced - ageGroups - locationA - locationB - distance - zips - attributesLocal17 - typesOfCare - shiftType - acceptsChildren - yearlySchedule - weeklySchedule - dailySchedule - financialAssist - languages - attributesLocal3 - generalLocal1 - generalLocal2 - totalVacancies - vacanciesByAge - vacancyDateRange - meals - environment - weeklyRate - monthtlyRate - beforeSchool - afterSchool - acceptsDropIns - rotating - openHolidays - tempEmergency - open24Hours - providerIds] + %w[ + acceptsChildren + acceptsDropIns + afterSchool + ageGroups + agesServiced + attributesLocal17 + attributesLocal3 + beforeSchool + dailySchedule + distance + environment + financialAssist + generalLocal1 + generalLocal2 + languages + locationA + locationB + meals + monthlyRate + open24Hours + openHolidays + providerIds + rotating + shiftType + tempEmergency + totalVacancies + typesOfCare + vacanciesByAge + vacancyDateRange + weeklyRate + weeklySchedule + yearlySchedule + zips + ] end end end end