Module: FacebookSDK::Api

Included in:
Session
Defined in:
lib/facebook_sdk/modules/api.rb

Instance Method Summary collapse

Instance Method Details

#api(url, &block) ⇒ Object



4
5
6
7
# File 'lib/facebook_sdk/modules/api.rb', line 4

def api(url, &block)
  result = get url, &block
  result.body
end