Module: Orkut::Connection
- Included in:
- API
- Defined in:
- lib/orkut/connection.rb
Instance Method Summary collapse
Instance Method Details
#authorization_uri(options = {}) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/orkut/connection.rb', line 10 def (={}) client = Google::APIClient.new client..client_id = client_id client..client_secret = client_secret client..scope = scope client..redirect_uri = redirect_uri orkut = client.discovered_api('orkut', 'v2') client...to_s end |
#get_connection_hash ⇒ Object
23 24 25 |
# File 'lib/orkut/connection.rb', line 23 def get_connection_hash return get_token_values(connection.) end |