lib/jsonapi/formatter.rb in jsonapi-resources-0.0.13 vs lib/jsonapi/formatter.rb in jsonapi-resources-0.0.14

- old
+ new

@@ -95,15 +95,10 @@ end class DefaultValueFormatter < JSONAPI::ValueFormatter class << self def format(raw_value, context) - case raw_value - when String, Integer - return raw_value - else - return raw_value.to_s - end + raw_value end end end class UnderscoredRouteFormatter < JSONAPI::RouteFormatter \ No newline at end of file