50 51 52 53 54
# File 'lib/cbraspag/core/order.rb', line 50 def validate_each(record, attribute, value) if Braspag::INTEREST.key(value).nil? record.errors.add attribute, "invalid installments type" end end