0
我在我的Ruby on Rails應用程序中使用了Evernote gem。如何在Ruby on Rails中使用Evernote gem創建筆記?
我做這個創建NoteStore:
# Construct the URL used to access the user's account
noteStoreUrl = "https://sandbox.evernote.com/edam/note/" + shard_id
noteStoreTransport = Thrift::HTTPClientTransport.new(noteStoreUrl)
noteStoreProtocol = Thrift::BinaryProtocol.new(noteStoreTransport)
noteStore = Evernote::EDAM::NoteStore::NoteStore::Client.new(noteStoreProtocol)
我可以訪問用戶的筆記罰款。我的問題是,如何創建一個note object?