elixir-sparkpost
elixir-sparkpost copied to clipboard
SparkPost client library for Elixir https://developers.sparkpost.com
I'm still using this library on a project or two, but over the time, I was forced to add compatibility wrappers for a lot of stuff missing here. My PR...
Offering this as a PR mainly just to check if I get a reply. Already applied to master branch of my fork. This adds a workflow action to build and...
Creating this ticket so I can remove a TODO from code. `Poison.encode(keys: :atoms)` is potentially unsafe for open ended structures such as `metadata` and `substitution_data`, as atoms are not garbage...
This PR adds support for Template.create, .update and .delete To enable this support, while following existing conventions as much as I could, I also had to define `%Template{}` and `%Template.Response{}`...
Is there a specific reason why the body is being [decoded with keys as atoms](https://github.com/SparkPost/elixir-sparkpost/blob/30402ea06bca15ea72dbc73efd22c2e35bd6dde9/lib/endpoint.ex#L85)? ``` elixir # lib/endpoint.ex:85-89@30402ea defp decode_response_body(body) do # TODO: [key: :atoms] is unsafe for open-ended...
It'd be nice if functions returned `{:error, X}` and `{:ok, Y}`. It results in more elegant client code that doesn't have to match against specific structures. ``` def(%Transmission.Response{id: id), do:...
Our SparkPost server is sitting behind an OAuth 1.0 gateway on our internal network. While adding OAuth support would probably be a heavyweight approach--I wonder if there would be some...
@richleland As I was going through the requirements for change implementation for #12 I realized that the tests depend significantly on mocking the behaviour of HTTPotion. Moving forward, would you...