Module: Twenty3AndMe::Helpers

Defined in:
lib/twenty3andme/helpers.rb

Instance Method Summary collapse

Instance Method Details

#url_for_23andme_authorizeObject



3
4
5
# File 'lib/twenty3andme/helpers.rb', line 3

def url_for_23andme_authorize
  return "https://api.23andme.com/authorize/?redirect_uri=#{ENV['REDIRECT_URI']}&response_type=code&client_id=#{ENV['CLIENT_ID']}&scope=#{ENV['SCOPE'].split(',').join("%20")}"
end