Regression, missing new_keys method
Open
Nobody has claimed this yet.
priority: medium
type: bug
- Dominant language
- Ruby
- Stars
- 1.4k
- Forks
- 472
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 5
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the v6 client surface with the linked Twilio API key documentation and reproduce the NoMethodError using the provided Ruby snippet. Trace how API resources are exposed from Twilio::REST::Client and verify the relevant existing tests or resource definitions. Done means subaccount_client.new_keys.create works again or the documentation reflects the supported API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100