Created
November 19, 2014 18:05
-
-
Save travisdmathis/01ac53b3d289942fb4e4 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
box_session = RubyBox::Session.new({ | |
client_id: box_keys[:client_id], | |
client_secret: box_keys[:client_secret], | |
access_token: current_user.oauth2_users.find_by_provider('box_oauth2').access_token | |
}) | |
@box_client = RubyBox::Client.new(box_session) | |
@files_and_folders = @box_client.root_folder.items | |
returns: Completed 500 Internal Server Error in 752.9ms RubyBox::AuthError (no data returned): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment