lib/tokyo_api/base.rb in tokyo_api-1.0.1 vs lib/tokyo_api/base.rb in tokyo_api-1.0.2

- old
+ new

@@ -3,10 +3,10 @@ def normalized_base_path "#{base_path}/" end def url_escape(string) - CGI.escape(string) + CGI.escape(string.to_s) end def required_fields_param(required_fields) if required_fields.present? "required_fields=#{required_fields.collect{|v| url_escape(v.to_s)}.join(',')}" \ No newline at end of file