1 2 3 4 5 6 7 8 9
class NotesController < ApplicationController def index access_token = 'S=s1:U=91e2f:E=151f92661a2:C=151f4000220:P=185:A=evernotesandbox199:V=2:H=5777502290baf1ae1b36ad6254592258' notestore_url = 'https://sandbox.evernote.com/shard/s1/notestore' note_store = Evernote::NoteStore.new(notestore_url, access_token) @notebooks = note_store.notebooks end end