Class: FBGraph::FQL

Inherits:
Base
  • Object
show all
Defined in:
lib/fbgraph/fql.rb

Instance Attribute Summary

Attributes inherited from Base

#connection_type, #last_result, #logger, #objects

Instance Method Summary collapse

Methods inherited from Base

#connection, #debug=, #delete!, #find, #info!, #initialize, #param, #params, #params=, #publish!, #with_fields

Constructor Details

This class inherits a constructor from FBGraph::Base

Instance Method Details

#query(q) ⇒ Object



5
6
7
# File 'lib/fbgraph/fql.rb', line 5

def query(q)
  find('fql').param(:q => q).info!
end