pagerduty-sdk is a Ruby Gem for communicating with the entire Pagerduty API. It was designed to be as fully object-oriented as possible. Although it is still under some construction, it is functional and ready for use.

I plan to do much more work on this gem, and your feedback is greatly appreciated!


  • Ruby 1.9.3+
  • A Pagerduty account token


gem install pagerduty-sdk

Building/Installing a local gem

Rake tasks to build and install the gem:

rake buildgem
rake installgem

Or in one fell swoop

rake gem


require 'pagerduty'

pagerduty = "#{token}", subdomain: "#{subdomain}")

See YARD documentation for specific function usage.