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
Rake tasks to build and install the gem:
rake buildgem
rake installgem
Or in one fell swoop
rake gem
require 'pagerduty'
pagerduty = Pagerduty.new(token: "#{token}", subdomain: "#{subdomain}")
#<Pagerduty:0x007f9a340fc410>
See YARD documentation for specific function usage.