ruby
Ruby
code posted
created at 21 Feb 07:46
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 2 ms with coderay