lib/saorin/client.rb in saorin-0.5.0 vs lib/saorin/client.rb in saorin-0.6.0
- old
+ new
@@ -6,10 +6,10 @@
include Registerable
self.load_path = 'saorin/client'
class << self
def new(options = {}, &block)
- adapter = options.delete(:adapter) || :faraday
+ adapter = options[:adapter] || :faraday
adapter_class = guess adapter
adapter_class.new options, &block
end
end
end