You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defself.create(pattern)mailgun.routes.create"Catch-all route for #{ENV['MAILGUN_ROUTE_DOMAIN']}",DEFAULT_PRIORITY,[:match_recipient,pattern],[[:forward,endpoint_url],[:stop]]end# ...describe'.create'dolet(:pattern){'.*@.*.test.com'}it'creates a route'doVCR.use_cassette:email_route_createdoEmailRoute.createpatternexpect(EmailRoute.existing_route(pattern)).tobe_presentendendend
When I perform a
Mailgun().routes.create
orMailgun().routes.update
command, I get the following error:I debugged the problem and found that at https://github.com/HashNuke/mailgun/blob/master/lib/mailgun/base.rb#L71 RestClient is not recognizing the parameters hash passed to it and not posting parameters to Mailgun, even though it has data.
Here's my test code:
Here's a dump of my VCR cassette during a create:
The text was updated successfully, but these errors were encountered: