PagerDuty / mixduty

An elixir client for PagerDuty's API v2
https://hex.pm/packages/mixduty
MIT License
7 stars 11 forks source link

Allow the api base endpoint to be configured #8

Closed mcasper closed 3 years ago

mcasper commented 3 years ago

I want to be able to run a mock Pagerduty API server in my tests, and in order to consume it I need to be able to configure the base url this library talks to. In order to do that, this PR checks for a :mixduty, base_url: config in the Application first before using the default base URL.

mcasper commented 3 years ago

@bradediger or @iminoso bump

bzmw commented 3 years ago

Heyo! Sorry we were so late on this!