ruby-rest-api icon indicating copy to clipboard operation
ruby-rest-api copied to clipboard

Constant ENABLE_CONVERSATIONS_WHATSAPP_SANDBOX not found

Open vruizext opened this issue 5 years ago • 1 comments

Hello there. I was trying to send whatsapp messages with the sandbox, as explained in the README.

Screenshot 2020-02-27 at 17 03 25

This raised an error, because the constant doesn't exist.

NameError: uninitialized constant MessageBird::Client::ENABLE_CONVERSATIONS_WHATSAPP_SANDBOX

Digging a bit into the repository, found that the constant do exists in master, though not in the last gem released.

The last gem released (1.4.2) is 6 months and 122 commits behind master, i.e. the commit introducing the feature isn't in the last release https://github.com/messagebird/ruby-rest-api/commit/61c592bdadecc8c71faf25a397866fc7cc739eff

Any plans to release a new version?

I could find a way to make it work, monkey patching the classes, but would be nice if you could release it and push it to RubyGems anytime soon, so we can test on staging without monkey patching.

vruizext avatar Feb 27 '20 16:02 vruizext

This is also documented here https://dashboard.messagebird.com/en/whatsapp/sandbox but when you use the official SDK it breaks.

diaclavijo avatar Oct 27 '23 15:10 diaclavijo