lib/jamef/helper.rb in jamef-api-0.5.3 vs lib/jamef/helper.rb in jamef-api-0.5.4

- old
+ new

@@ -67,9 +67,13 @@ def self.format_time value value.strftime("%H:%M") end + def self.format_boolean value + value ? 'S' : 'N' + end + def self.parse_date value Date.strptime(value, '%d/%m/%y') end def self.parse_decimal value