lib/blurb/request.rb in blurb-0.4.0 vs lib/blurb/request.rb in blurb-0.4.1

- old
+ new

@@ -65,10 +65,10 @@ return resp end def camelcase_keys(hash) map = hash.map do |key,value| - value = value.strftime('%Y%m%d') if value.class == Date || value.class == Time + value = value.strftime('%Y%m%d') if [Date, Time, ActiveSupport::TimeWithZone].include?(value.class) [key.to_s.camelize(:lower), value] end map.to_h end