Created
April 4, 2013 20:14
-
-
Save evernotegists/5313974 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ index | |
<html> | |
<head> | |
<title>Evernote Ruby Example App</title> | |
</head> | |
<body> | |
<a href="/requesttoken">Click here</a> to authenticate this application using OAuth. | |
<% if session[:notebooks] %> | |
<hr /> | |
<h3>The current user is <%= session[:username] %> and there are <%= session[:total_notes] %> notes in their account</h3> | |
<br /> | |
<h3>Here are the notebooks in this account:</h3> | |
<ul> | |
<% session[:notebooks].each do |notebook| %> | |
<li><%= notebook %></li> | |
<% end %> | |
</ul> | |
<% end %> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment