twilio / twilio-ruby

A Ruby gem for communicating with the Twilio API and generating TwiML
MIT License
1.36k stars 464 forks source link

undefined method 'verify' for Twilio::REST::Client #461

Closed talhashoaib closed 5 years ago

talhashoaib commented 5 years ago

twilio-ruby (5.12.4):

Code Snippet

@client.verify.services('VAABCDDDKLK').verifications.create(to: '+9number', channel: 'sms', customCode: '1234')

Exception/Log

NoMethodError: undefined method `verify' for #<Twilio::REST::Client:0x000000090f9408>
    from (irb):9

Steps to Reproduce

  1. Just call the verify method to the client helper. It throws an error.
childish-sambino commented 5 years ago

Verify was moved out of preview as part of the 5.13.0 release.