Ruby Sample Code
The following Code Sample is provided for reference purposes only, and no representation is made as to its suitability, security or reliability for any purpose. However, you are free to adapt this code to use in your own projects. Please refer to the license attribution at the top of each file for more information.
This sample contains functions that illustrate the use of the basic supported HTTP verbs, to Create (POST), Read (GET), Update (PATCH), Delete (DELETE) ShareFile entities, as well as Upload and Download example functions. Each sample function is designed to be self contained, so you will find many areas for abstraction when you write your own code.