lib/sugarcrm/connection/api/get_entries_count.rb in sugarcrm-0.9.9 vs lib/sugarcrm/connection/api/get_entries_count.rb in sugarcrm-0.9.10

- old
+ new

@@ -6,13 +6,13 @@ :deleted => 0 }.merge! opts json = <<-EOF { - \"session\": \"#{@session}\"\, - \"module_name\": \"#{module_name}\"\, - \"query\": \"#{query}\"\, - \"deleted\": #{options[:deleted]} + "session": "#{@session}", + "module_name": "#{module_name}", + "query": "#{query}", + "deleted": #{options[:deleted]} } EOF json.gsub!(/^\s{6}/,'') send!(:get_entries_count, json) end \ No newline at end of file