lib/shelby_arena/response/fund.rb in shelby_arena-0.0.3 vs lib/shelby_arena/response/fund.rb in shelby_arena-0.0.4

- old
+ new

@@ -11,10 +11,15 @@ start_date: 'StartDate', end_date: 'EndDate' }.freeze def format_single(data) - to_h(MAP, data) + response = to_h(MAP, data) + response[:active] = to_boolean(response[:active]) + response[:is_tax_deductible] = to_boolean(response[:is_tax_deductible]) + response[:start_date] = date_parse(response[:start_date]) + response[:end_date] = date_parse(response[:end_date]) + response end end end end