You are currently viewing Ruby Doc

Ruby Doc

Even my country’s mobile-ruby helper library enables you to produce Ruby code to earn HTTP requests into the My country mobile API. Should you want to know more about visiting this newest 5. x edition of this My country mobile Ruby Helper Library in your 4. x variant, check this out guidebook.

This library is open-source; Thus, in the event, you uncover an attribute overlooking or perhaps a bug, then we invite you to return to my country mobile-ruby job hosted on GitHub.

Handbook Setup

You can replicate the source code to get my country mobile-ruby, also put it in the library from that point. In case the command line provides you with a massive lengthy error message which claims authorization Denied at the center of it, then consider running the instructions above with Sudo, ex. Sudo gem set up my country mobile-ruby.

Ruby Screening your setup

Evaluation making an SMS with your evaluation qualifications from https://my country mobile.com/console/settings, out of the magical amount to some amount like this:

In the event you buy yourself a note SID from the outcome, you know that you have correctly produced it. A record using your evaluation qualifications. You’ll neither be charged nor acquire a good SMS from the”into” quantity.

Try out the Ruby quickstarts and consult with this open-minded. My country mobile-ruby appropriate documentation for factual statements in regards to the classes and methods in the library. Below are a few essential illustrations of how exactly to use this stone.

So Authenticate that the Consumer

Produce a Brand New Report

So You’ll be billed, nor generate a correct telephone number. But if you buy yourself a telephone SID at the outcome signal, you’re fine.

Get Present Report

Iterate During Documents

 

image-3 (1)

Dealing with Exceptions

So In the event, My country’s mobile API yields A400 or some 500 degrees HTTP reply; then, my country mobile-ruby library will probably toss a My country mobile:REST: RequestError. 400-level glitches are ordinary throughout; API surgery (“Invalid amount,” “can not send SMS compared to this variety,” as an instance ) ought to be appropriately managed. Mo-Re Documentation

If you want to find out more regarding the way My country mobile performs, or even to get inspiration on what things to assemble, try out the Ruby quickstarts.

The Rush API Documentation has cases prepared in Ruby to get every sort of activity. That you can choose together with all My country mobile APIs, now you ought to begin that point if you recognize very well what you would like to do along with all the Ruby libraries.

So You can also desire to refer to this available supply in my country mobile- proper documentation for additional information in regards to the classes and methods in the stone.

 

177-1-3 (1)

Ruby Getting the 4. x Edition of this Helper Library

So The latest variation of this Helper Library is maybe not API compatible with all. The prior 4. x variant you may possibly use in preceding My country mobile software. The old variant will last to do the job, and you’ll keep coming across sample code.

My Country Mobile is also Specialized in different products like VoIP Routes, CLI Routes, NCLI Routes, and CC Routes.

So My Country Mobile provides the best virtual phone number services across the globe. Buy now with different city’s local numbers like 780 area code, 801 area code, 986 area code, and many more. Small business owners often only check their books once a year. For some more information visit conference-call-app & how-the-rhino-quad-works   

and ig you want to know more about it EveryCaller and Conference Call App