mailjet / mailjet-gem

[API v3] Mailjet official Ruby GEM
https://dev.mailjet.com
Other
130 stars 72 forks source link

How to create Campaign? Mailjet::MethodNotAllowed Mailjet::Campaign.create #45

Closed ZephiroRB closed 9 years ago

ZephiroRB commented 9 years ago

Use campaign = Mailjet::Campaign.create(title: "")

Error

Mailjet::MethodNotAllowed

WeshGuillaume commented 9 years ago

Hi @zephiro ! Sorry for the delay !

You cannot create a raw Campaign this way. A campaign is automatically created when you create a newsletter. To get started with the API, I highly encourage you to read our documentation: http://dev.mailjet.com/

Regards, Guillaume

WeshGuillaume commented 9 years ago

Hi @zephiro !

Did it answered your question ? If yes, can you please close that issue ? Otherwise, I would be happy to help !

Regards, Guillaume