HTTParty
Ruby
code posted
created at 21 Feb 04:31, updated at 25 Feb 12:36
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 |
require 'httparty' class Facebook include HTTParty base_uri 'https://graph.facebook.com/' # default_params :output => 'json' format :json def self.object(id) get "/#{id}" end end |
207 Bytes in 2 ms with coderay