# File lib/generators/active_record/oauth_provider_templates/oauth2_verifier.rb, line 21 def to_query q = "code=#{token}" q << "&state=#{URI.escape(state)}" if @state q end