Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'markdown_notes'
- include MarkdownNotes
- client = MarkdownNotesClient.new(
- o_auth_client_id: 'YOUR_CLIENT_ID',
- o_auth_client_secret: 'YOUR_CLIENT_SECRET',
- o_auth_username: 'YOUR_OAUTH_USERNAME',
- o_auth_password: 'YOUR_OAUTH_PASSWORD'
- )
- controller = client.note
- client.auth.authorize(scope: OAuthScope::READ_NOTE)
- puts controller.list_notes.inspect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement