mirror of
https://github.com/nov/fb_graph2
synced 2023-03-27 23:22:15 -04:00
parent
b886fe0c06
commit
6cee5aaec7
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ module FbGraph2
|
|||
class Edge
|
||||
module Insights
|
||||
def insights(params = {})
|
||||
insights = self.edge :insights, params
|
||||
insights = self.edge :insights, params.except(:metrics), edge_scope: params[:metrics]
|
||||
insights.collect! do |insight|
|
||||
Insight.new(insight[:id], insight).authenticate self.access_token
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue