Sha256: edcc0e642479b86f9458aa63a5e2926ca0b667587f3becb644053887ac0c0d43
Contents?: true
Size: 572 Bytes
Versions: 1
Compression:
Stored size: 572 Bytes
Contents
require 'rubygems' require 'json' require 'active_support' require 'rest_client' module FbGraph ROOT_URL = "https://graph.facebook.com" class FbGraph::Exception < StandardError; end class FbGraph::Unauthorized < FbGraph::Exception; end class FbGraph::NotFound < FbGraph::Exception; end class << self def node(identifier, options = {}) Node.new(identifier, options) end def user(identifier, options = {}) User.new(identifier, options) end end end Dir[File.dirname(__FILE__) + '/fb_graph/*.rb'].each do |file| require file end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fb_graph-0.0.1 | lib/fb_graph.rb |