Skip to content
This repository has been archived by the owner on Nov 17, 2018. It is now read-only.

Latest commit

 

History

History
14 lines (12 loc) · 299 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 299 Bytes

PagerdutyAPI

Pagerduty API v2 client.

Usage

All this does is hit the Notes API, for now. Pull requests happily accepted :)

pd = PagerdutyAPI.new({
  token: 'SomeAPIToken',
  adapter: :some_faraday_adapter
})
pd.create_note(1, "Here's a note", "jake@mydomain.com")
pd.get_notes(1)