Method: HyperGraph.authorize_url
- Defined in:
- lib/hyper_graph.rb
.authorize_url(client_id, redirect_uri, options = {}) ⇒ Object
Redirect users to this url to get authorization
48 49 50 |
# File 'lib/hyper_graph.rb', line 48 def (client_id, redirect_uri, ={}) "https://#{API_URL}/oauth/authorize?#{build_query(.merge(:client_id => client_id, :redirect_uri => redirect_uri))}" end |