Skip to main content
Dub

Ruby SDK

Learn how to integrate Dub with Ruby.
1 min read

Installation#

Basic Usage#

Here's how you can use the Dub Ruby SDK to create a link and retrieve click analytics in timeseries format for it:

For more usage examples:

  1. Organizing links by external ID, tenant ID, tags, etc
  2. Bulk link operations (create, update, delete)
  3. Retrieving link analytics

Frameworks#

You can use the Dub Ruby SDK with any Ruby framework:

  1. Usage with Rails
  2. Usage with Sinatra

If you're using a different Ruby framework, you can refer to the Ruby SDK quickstart for a basic example.

Additional Resources#