Title / Description
Code 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
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code