def initialize(app, consumer_key=nil, consumer_secret=nil, options={}, &block)
client_options = {
:access_token_path => '/accounts/OAuthGetAccessToken',
:authorize_path => '/accounts/OAuthAuthorizeToken',
:request_token_path => '/accounts/OAuthGetRequestToken',
:site => 'https://www.google.com',
}
google_contacts_auth = 'www.google.com/m8/feeds'
options[:scope] ||= "https://#{google_contacts_auth}"
options[:scope] << " https://#{google_contacts_auth}" unless options[:scope] =~ %r[http[s]?:\/\/#{google_contacts_auth}]
super(app, :google, consumer_key, consumer_secret, client_options, options, &block)
end