lib/restful_resource/base.rb in restful_resource-0.8.24 vs lib/restful_resource/base.rb in restful_resource-0.8.25

- old
+ new

@@ -95,9 +95,10 @@ self.new(element) end end def self.parse_json(json) + return nil if json.strip.empty? ActiveSupport::JSON.decode(json) end def self.replace_parameters(url, params) missing_params = []