lib/oldbill/session.rb in oldbill-0.0.1 vs lib/oldbill/session.rb in oldbill-0.0.2

- old
+ new

@@ -1,6 +1,5 @@ -require 'active_support/core_ext/object/to_query' module OldBill class Session # accessors attr_accessor :cache, :caching, :logging, :server, :expires_in, :api_version @@ -63,10 +62,10 @@ # @param [Hash] params # @return [String] the cache key from the path and the params def cache_key(path, params = {}) parts = [] parts << path - parts << params.to_query + parts << params.to_a parts.join("/") end # @param [Object] result # @param [String] path \ No newline at end of file