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 authorize_url(client_id, redirect_uri, options={})
  "https://#{API_URL}/oauth/authorize?#{build_query(options.merge(:client_id => client_id, :redirect_uri => redirect_uri))}"
end