lib/twitter/config.rb in twitter4r-0.5.3 vs lib/twitter/config.rb in twitter4r-0.6.0
- old
+ new
@@ -53,10 +53,11 @@
:oauth_consumer_token,
:oauth_consumer_secret,
:oauth_request_token_path,
:oauth_access_token_path,
:oauth_authorize_path,
+ :exception_registry,
]
attr_accessor(*@@ATTRIBUTES)
# Override of Object#eql? to ensure RSpec specifications run
@@ -89,9 +90,10 @@
:source => 'twitter4r',
:timeout => 20,
:oauth_request_token_path => '/oauth/request_token',
:oauth_access_token_path => '/oauth/access_token',
:oauth_authorize_path => '/oauth/authorize',
+ :exception_registry => Twitter::RESTError.registry,
}
@@config = Twitter::Config.new(@@defaults)
# Twitter::Client class methods
class << self