{"action":"opened","issue":{"url":"https://api.github.com/repos/recurly/recurly-client-ruby/issues/182","labels_url":"https://api.github.com/repos/recurly/recurly-client-ruby/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/recurly/recurly-client-ruby/issues/182/comments","events_url":"https://api.github.com/repos/recurly/recurly-client-ruby/issues/182/events","html_url":"https://github.com/recurly/recurly-client-ruby/issues/182","id":60584144,"number":182,"title":"Incorrect request type or error in documentation","user":{"login":"AlexParamonov","id":352030,"avatar_url":"https://avatars.githubusercontent.com/u/352030?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexParamonov","html_url":"https://github.com/AlexParamonov","followers_url":"https://api.github.com/users/AlexParamonov/followers","following_url":"https://api.github.com/users/AlexParamonov/following{/other_user}","gists_url":"https://api.github.com/users/AlexParamonov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexParamonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexParamonov/subscriptions","organizations_url":"https://api.github.com/users/AlexParamonov/orgs","repos_url":"https://api.github.com/users/AlexParamonov/repos","events_url":"https://api.github.com/users/AlexParamonov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexParamonov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-10T23:03:16Z","updated_at":"2015-03-10T23:03:16Z","closed_at":null,"body":"On the https://docs.recurly.com/api/billing-info#update-billing-info-token\r\ndescribed a way to update billing information.\r\n\r\n`PUT https://:subdomain.recurly.com/v2/accounts/:account_code/billing_info`\r\n\r\nand given a Ruby example:\r\n```\r\naccount = Recurly::Account.find('1')\r\naccount.billing_info = {\r\n  token_id: 'TOKEN_ID'\r\n}\r\naccount.billing_info.save\r\n```\r\n\r\nWhich in turn send a POST request.\r\nI took me some time to debug and find that issue is actually not on my side, but on Ruby Recurly library."}}