Project

duo_api

0.36
Low commit activity in last 3 years
A long-lived project that still receives updates
A Ruby implementation of the Duo API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 0.6.1
~> 2.7.1
~> 13.2.1
~> 1.73.1
~> 3.6.7

Runtime

~> 0.2.0
 Project Readme

Overview

Build Status Issues Forks Stars License

Auth - https://www.duosecurity.com/docs/authapi

Admin - https://www.duosecurity.com/docs/adminapi

Accounts - https://www.duosecurity.com/docs/accountsapi

Compatibility

While the gem should work for Ruby versions >= 2.5, tests and linting may only work properly on Ruby versions >= 3.0.

Tests are only run on currently supported Ruby versions.

Tested Against Ruby Versions:

  • 3.1
  • 3.2
  • 3.3
  • 3.4

TLS 1.2 and 1.3 Support

duo_api_ruby uses the Ruby openssl extension for TLS operations.

All Ruby versions compatible with this gem (2.5 and higher) support TLS 1.2 and 1.3.

Installing

Development:

$ git clone https://github.com/duosecurity/duo_api_ruby.git
$ cd duo_api_ruby

System:

$ gem install duo_api

Or add the following to your project:

gem 'duo_api', '~> 1.0'

Using

Testing

(Testing and Linting can be done simultaneously by running rake without specifying a task)
rake test

Linting

(Testing and Linting can be done simultaneously by running rake without specifying a task)
rake lint