I have trying to understand where RestClient.send is defined to no avail 🙁
Let me explain to you what I mean:
I have been checking out iqengines.com ruby api gem and they use RestClient.send to call out their api:
https://github.com/iqengines/ruby-iqengines/blob/master/lib/iqengines.rb
Now they use RestClient gem and this call to send out the http request:
response = RestClient.send(method, url, fields)
I looked inside rest_client gem https://github.com/archiloque/rest-client and I can not
undestand where rest-client gem defines RestClient.send(…) method!!
Any help would be creatly appreciated!!
sendmethod is a part of Ruby. see here: http://ruby-doc.org/core-1.9.3/Object.html#method-i-send