All HTTP requests performed by the MessageBird::ConversationClient are failing because it's using the base URL rest.messagebird.com, when it should be conversations.messagebird.com.
This PR does:
Fix the aforementioned bug in the MessageBird::ConversationClient by moving the method endpoint from the MessageBird module to inside the class MessageBird::ConversationClient.
Add tests for MessageBird::ConversationClient
Add tests for MessageBird::Base.map_hash_elements_to_self
Add .byebug_history to .gitignore
Fixes a bug in the function MessageBird::Base.map_hash_elements_to_self(hash) by checking if hash is nil
All HTTP requests performed by the
MessageBird::ConversationClient
are failing because it's using the base URLrest.messagebird.com
, when it should beconversations.messagebird.com
.This PR does:
MessageBird::ConversationClient
by moving the methodendpoint
from theMessageBird
module to inside the classMessageBird::ConversationClient
.MessageBird::ConversationClient
MessageBird::Base.map_hash_elements_to_self
.byebug_history
to.gitignore
MessageBird::Base.map_hash_elements_to_self(hash)
by checking ifhash
isnil