client = RubyBox::Client.new(box_session)
file = client.upload_file(param.path.to_s, 'folder').create_shared_link
folders = client.root_folder.folders
number_of_records = VideoUpload.count
I use the above code to upload some files to box, but when the file is large (400MB), it session expires. How do I increase the session time for this rails/ruby api?
Please sign in to leave a comment.