Module: FbGraph::Connections::ReachEstimates

Included in:
AdAccount
Defined in:
lib/fb_graph/connections/reach_estimates.rb

Instance Method Summary collapse

Instance Method Details

#reach_estimates(options = {}) ⇒ Object



4
5
6
7
# File 'lib/fb_graph/connections/reach_estimates.rb', line 4

def reach_estimates(options = {})
  reach_estimates = self.get(options.merge!(:connection => :reachestimate))
  ReachEstimate.new(reach_estimates.merge(:access_token => options[:access_token] || self.access_token))
end