HTTParty
Ruby
code posted
created at 21 Feb 04:32
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/'
format :json
def self.object(id)
get "/#{id}"
end
end
|
207 Bytes in 3 ms with coderay