[{"data":1,"prerenderedAt":271},["ShallowReactive",2],{"navigation":3,"\u002Fchangelog":43,"\u002Fchangelog-surround":267},[4,8,13,18,23,28,33,38],{"title":5,"path":6,"stem":7},"Getting started","\u002F","index",{"title":9,"path":10,"stem":11,"order":12},"Numbers","\u002Fnumbers","numbers",1,{"title":14,"path":15,"stem":16,"order":17},"Rent","\u002Frent","rent",2,{"title":19,"path":20,"stem":21,"order":22},"User","\u002Fuser","user",3,{"title":24,"path":25,"stem":26,"order":27},"Free numbers","\u002Ffree","free",4,{"title":29,"path":30,"stem":31,"order":32},"Webhooks","\u002Fwebhooks","webhooks",5,{"title":34,"path":35,"stem":36,"order":37},"Testing","\u002Ftesting","testing",6,{"title":39,"path":40,"stem":41,"order":42},"Changelog","\u002Fchangelog","changelog",7,{"id":44,"title":39,"body":45,"description":261,"extension":262,"meta":263,"navigation":264,"path":40,"seo":265,"stem":41,"__hash__":266},"docs\u002Fchangelog.md",{"type":46,"value":47,"toc":255},"minimark",[48,60,65,108,112,123,127,130],[49,50,51,52,59],"p",{},"The full history is in ",[53,54,58],"a",{"href":55,"rel":56},"https:\u002F\u002Fgithub.com\u002Fs00d\u002Fonlinesim-ruby-api\u002Fblob\u002Fmaster\u002FCHANGELOG.md",[57],"nofollow","CHANGELOG.md",".",[61,62,64],"h2",{"id":63},"_211","2.1.1",[66,67,68,87,93],"ul",{},[69,70,71,75,76,79,80,83,84,59],"li",{},[72,73,74],"code",{},"wait_code"," retries ",[72,77,78],{},"TRY_AGAIN_LATER"," (rate limit), ",[72,81,82],{},"ERROR_UNDEFINED"," and ",[72,85,86],{},"INTERVAL_CONCURRENT_REQUESTS_ERROR",[69,88,89,92],{},[72,90,91],{},"payment_history[\"paylist\"]"," is kept when it arrives as a list; error messages follow the current API.",[69,94,95,98,99,83,102,105,106,59],{},[72,96,97],{},"MockOnlineSim"," follows the backend more closely: rent reservation and confirmation, ",[72,100,101],{},"setOperationRevise",[72,103,104],{},"closeRentNum"," answers, missing vs wrong key — see ",[53,107,34],{"href":35},[61,109,111],{"id":110},"_210","2.1.0",[66,113,114],{},[69,115,116,117,120,121,59],{},"New: ",[72,118,119],{},"OnlineSim::MockOnlineSim",", an offline fake of the API for your tests — see ",[53,122,34],{"href":35},[61,124,126],{"id":125},"_200","2.0.0",[49,128,129],{},"A rewrite with a new API; v1 code does not run unchanged.",[66,131,132,152,163,166,181,194,211,226],{},[69,133,134,135,138,139,142,143,142,146,142,149,59],{},"One client, ",[72,136,137],{},"OnlineSim::Client.new(api_key:)",", with the sections as readers: ",[72,140,141],{},"client.numbers",", ",[72,144,145],{},"client.rent",[72,147,148],{},"client.user",[72,150,151],{},"client.free",[69,153,154,155,158,159,162],{},"Zero runtime dependencies (",[72,156,157],{},"Net::HTTP"," + ",[72,160,161],{},"JSON","), Ruby 3.0+. TLS is verified (v1 disabled verification globally).",[69,164,165],{},"The key is sent as a Bearer header, never in the URL.",[69,167,168,169,142,172,142,175,142,178,59],{},"Typed errors: ",[72,170,171],{},"ApiError",[72,173,174],{},"NoNumberError",[72,176,177],{},"TransportError",[72,179,180],{},"TimeoutError",[69,182,183,186,187,142,190,193],{},[72,184,185],{},"numbers.wait_code"," waits for a real SMS: interval and timeout in seconds, ",[72,188,189],{},"keep_open:",[72,191,192],{},"since:",", retries network errors.",[69,195,196,199,200,203,204,207,208,59],{},[72,197,198],{},"rent.get"," creates extendable rents by default (",[72,201,202],{},"extension: true","); ",[72,205,206],{},"rent.extend"," takes ",[72,209,210],{},"days",[69,212,116,213,216,217,216,220,142,223,59],{},[72,214,215],{},"user.set_webhook_url"," \u002F ",[72,218,219],{},"clear_webhook_url",[72,221,222],{},"webhook_logs",[72,224,225],{},"OnlineSim.parse_webhook",[69,227,228,229,232,233,216,236,142,239,142,242,216,245,216,247,250,251,254],{},"Removed: the proxy API, the forward API, the ",[72,230,231],{},"onlinesim"," CLI, ",[72,234,235],{},"numbers.service",[72,237,238],{},"service_number",[72,240,241],{},"rent.port_reload",[72,243,244],{},"free.countries",[72,246,11],{},[72,248,249],{},"messages"," (use ",[72,252,253],{},"free.list",").",{"title":256,"searchDepth":17,"depth":17,"links":257},"",[258,259,260],{"id":63,"depth":17,"text":64},{"id":110,"depth":17,"text":111},{"id":125,"depth":17,"text":126},"Release notes of the onlinesim Ruby gem.","md",{},{"order":42},{"title":39,"description":261},"tQwDA_1-asQgp7V7oiQ1uoOCEk8tP-siniiSUYDuzM0",[268,269],null,{"title":24,"path":25,"stem":26,"description":270,"order":27,"children":-1},"Public numbers and their SMS — client.free. No API key needed.",1795163990090]