module Twenty3AndMe::Helpers

Public Instance Methods

url_for_23andme_authorize() click to toggle source
# 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