Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression, missing new_keys method #679

Open
woodhull opened this issue Sep 24, 2023 · 1 comment
Open

Regression, missing new_keys method #679

woodhull opened this issue Sep 24, 2023 · 1 comment

Comments

@woodhull
Copy link

Issue Summary

After upgrading to ruby library v6, the new_keys method is no longer available.

It is still described in the docs here:
https://www.twilio.com/docs/iam/keys/api-key

Code Snippet

subaccount_client.new_keys.create(friendly_name: key_friendly_name)

Exception/Log

      NoMethodError:
        undefined method `new_keys' for #<Twilio::REST::Client:0x00007f95458d5658 @username="ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", @***, @region=nil, @edge=nil, @account_sid="ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", @auth_token="auth_token", @auth=["ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "auth_token"], @http_client=#<Twilio::HTTP::Client:0x00007f953f192a40 @proxy_prot=nil, @ssl_ca_file=nil, @timeout=nil, @adapter=:net_http, @configure_connection_blocks=[]>, @logger=nil, @user_agent_extensions=[]>

Technical details:

  • twilio-ruby version: 6.7.0
  • ruby version: 3.2.2
@Cat-Raphael-scrib
Copy link

SKc14c369f6970d3e9d8f051505c6c6238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants