by
back

send yos in ruby on rails

It is very simple to send a yo with the simple api provided by yo:

uri = URI.parse("http://api.justyo.co/yoall/")
post_params = { api_token: "YOUR_SECRET_YO_API_KEY" }
result = Net::HTTP.post_form(uri,post_params)


comments powered by Disqus