We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sendyr.configure do |c| c.url = 'https://sendy.mydomain.com' c.api_key = 'xxxxxx' end
@status=200 @reason_phrase="OK" @response_body="API key not passed"
had to specify it:
sendyr_client.subscribe(email: email, api_key: Sendyr.configuration.api_key)
The text was updated successfully, but these errors were encountered:
@masterkain this PR should fix this issue: #5
Sendy requires api key in subscribe endpoint 🤯
Sorry, something went wrong.
If you don't want to fork it, while you wait for the PR you can monkeypatch it:
module Sendyr class Client alias subscribe_alias subscribe def subscribe(opts = {}) subscribe_alias(opts.merge(api_key: Sendyr.configuration.api_key)) end end end
Peace ✌🏻
No branches or pull requests
had to specify it:
The text was updated successfully, but these errors were encountered: