lib/onering/api.rb in onering-client-0.0.23 vs lib/onering/api.rb in onering-client-0.0.24

- old
+ new

@@ -66,10 +66,10 @@ end end def request(endpoint, options={}) options = @_config.merge(options) - options[:method] = options[:method].to_s.downcase.to_sym + options[:method] = (options[:method].to_s.downcase.to_sym rescue nil) request = nil uri = Addressable::URI.parse("#{@_uri.to_s}/#{endpoint}") uri.query_values = options[:fields] if options[:fields]