RoR OAuth2 connection and example for TeamPlatform API.