./lib/animoto/http_engines/patron_adapter.rb in animoto-0.1.1.beta1 vs ./lib/animoto/http_engines/patron_adapter.rb in animoto-1.0.0
- old
+ new
@@ -14,19 +14,17 @@
private
# Builds the Session object.
#
- # @param [Hash<Symbol,Object>] options options for the Session
+ # @param [Hash{Symbol=>Object}] options options for the Session
# @return [Patron::Session] the Session object
def build_session options
session = ::Patron::Session.new
session.timeout = options[:timeout]
session.username = options[:username]
session.password = options[:password]
session
end
- end
-
- adapter_map.merge! :patron => PatronAdapter
+ end
end
end
\ No newline at end of file