lib/contextio.rb in contextio-1.0.1 vs lib/contextio.rb in contextio-1.1.0

- old
+ new

@@ -15,11 +15,12 @@ # around for the life of the process. # # @param [String] key Your OAuth consumer key for your Context.IO account # @param [String] secret Your OAuth consumer secret for your Context.IO # account - def initialize(key, secret) - @api = API.new(key, secret) + # @param [Hash] opts Optional options for OAuth connections. ie. :timeout and :open_timeout are supported + def initialize(key, secret, opts={}) + @api = API.new(key, secret, opts) end # Your entry point for dealing with oauth providers. # # @return [OAuthProviderCollection] Allows you to work with the providers for