Class: Lono::AuthUrl

Inherits:
Object
  • Object
show all
Defined in:
lib/lono-api/auth_url.rb

Class Method Summary collapse

Class Method Details

.fetch(redirect_success) ⇒ Object



4
5
6
# File 'lib/lono-api/auth_url.rb', line 4

def fetch(redirect_success)
  "http://make.lono.io/dialog/authorize?response_type=code&client_id=#{Lono.client_id}&redirect_uri=#{redirect_success}&scope=#{(Lono.scope or ['write']).join ','}"
end