Documentation has not been updated to match new API #95

Closed
JamesHagerman opened this Issue Jun 9, 2014 · 1 comment

Comments

Projects
None yet
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

This comment has been minimized.

Show comment Hide comment
@carlosdp

carlosdp Jul 26, 2014

Contributor

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'
Contributor

carlosdp commented Jul 26, 2014

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 Jul 26, 2014

ajtack pushed a commit to ajtack/twilio-ruby that referenced this issue Apr 28, 2017

Merge pull request #95 from wanjunsli/fix-csharp-task-create
Removing alternative csharp example; does not work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment