messagebird / ruby-rest-api

MessageBird's REST API for Ruby
BSD 2-Clause "Simplified" License
37 stars 46 forks source link

Constant ENABLE_CONVERSATIONS_WHATSAPP_SANDBOX not found #46

Open vruizext opened 4 years ago

vruizext commented 4 years ago

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.

diaclavijo commented 8 months ago

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