Bridge API

A simple API client for Bridge LMS

Usage

To create a new client:

client = BridgeAPI::Client.new(token: "your bridge api token", prefix: "https://yourdomain.bridgeapp.com")

-or-

client = BridgeAPI::Client.new(api_key: "your bridge api key", api_secret:
"your bridge api secret", prefix: "https://yourdomain.bridgeapp.com")

Additional options

Rate Limiting

If you are using BridgeAPI in a multi-threaded environment where you are instantiating several instances of client, you can also supply your client initializer with master_rate_limit: true. This will use a redis keystore to track your rate limits across all instances of client and properly throttle your application as needed.