Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Rulesets and Ruleset Rules #226

Merged
merged 2 commits into from
Jun 4, 2020
Merged

Adding Rulesets and Ruleset Rules #226

merged 2 commits into from
Jun 4, 2020

Conversation

stmcallister
Copy link
Contributor

Also added tests for the new resources. Results are here:

 $ go test -v -run='TestRuleset_*'
=== RUN   TestRuleset_List
--- PASS: TestRuleset_List (0.00s)
=== RUN   TestRuleset_Create
--- PASS: TestRuleset_Create (0.00s)
=== RUN   TestRuleset_Get
--- PASS: TestRuleset_Get (0.00s)
=== RUN   TestRuleset_Update
--- PASS: TestRuleset_Update (0.00s)
=== RUN   TestRuleset_Delete
--- PASS: TestRuleset_Delete (0.00s)
=== RUN   TestRuleset_ListRules
--- PASS: TestRuleset_ListRules (0.00s)
=== RUN   TestRuleset_GetRule
--- PASS: TestRuleset_GetRule (0.00s)
=== RUN   TestRuleset_CreateRule
--- PASS: TestRuleset_CreateRule (0.00s)
=== RUN   TestRuleset_UpdateRule
--- PASS: TestRuleset_UpdateRule (0.00s)
=== RUN   TestRuleset_DeleteRule
--- PASS: TestRuleset_DeleteRule (0.00s)
PASS
ok  	github.com/PagerDuty/go-pagerduty	0.258s

Addresses #159

@stmcallister stmcallister changed the title Rulesets Adding Rulesets and Ruleset Rules Jun 4, 2020
@stmcallister stmcallister merged commit b340ee8 into master Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants