Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Documentation has not been updated to match new API #95

Closed
JamesHagerman opened this Issue · 1 comment

2 participants

@JamesHagerman

If you make breaking changes to your API, you need to update your documentation.

The docs here:
https://www.twilio.com/docs/api/rest/message

Still mention the "old"/"pre-sms" API call:
@client.account.messages.list.each do |message|
puts message.body
end

But now... as far as I can tell... it's been changed to
@client.account.sms.messages.list.each do |message|
puts message.body
end

It'd be nice if we were alerted to breaking changes in the API... or if there were a method of versioning the API...

Thanks.

@carlosdp
Collaborator

It's actually the other way around. As mentioned in #96, the /SMS/ endpoint is the old endpoint. The new Messages API eliminates it to disambiguate the API between SMS and MMS. Make sure you are using a gem version >= 3.11

gem 'twilio-ruby', '~> 3.11'
@carlosdp carlosdp closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.