Skip to content

Regression, missing new_keys method #679

Open
@woodhull

Description

@woodhull

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumImportant but not urgent; Workaround availabletype: bugbug in the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions