aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile.lock
diff options
context:
space:
mode:
authorTeddy Wing2015-12-30 17:57:19 -0800
committerTeddy Wing2015-12-30 17:57:19 -0800
commitbbca4f8cf04d8ca3bdde981a53d7d49f3ff5bec0 (patch)
tree88682dd19c31f077202f70f11b08320d52e8fa3c /Gemfile.lock
parent21e6572e9dd2ec3df6a0b9de877c09dd376ee282 (diff)
downloadEvernote-Rails-Example-bbca4f8cf04d8ca3bdde981a53d7d49f3ff5bec0.tar.bz2
NotesController#index: List Evernote notebook names
List the names of all Evernote notebooks. We create a new service to make it easier to query the Evernote Ruby SDK and get all notebooks from it. This code to list notebooks was copied from the Evernote Ruby SDK's sample EDAMTest.rb file (https://github.com/evernote/evernote-sdk-ruby/blob/master/sample/client/EDAMTest.rb#L52-L62). In our controller, we call this service to get our notebooks and pass those to the view where we display each notebook's name. Hard-coded the my Evernote Sandbox access token and NoteStore URL because I didn't save them in the OmniAuth OAuth process. Using these to query the Evernote API using the SDK. Note to self: I'll want to deactivate that Evernote Sandbox account before releasing this.
Diffstat (limited to 'Gemfile.lock')
0 files changed, 0 insertions, 0 deletions