Module: FbGraph::Connections::AdConnectionObjects
- Included in:
- AdAccount
- Defined in:
- lib/fb_graph/connections/ad_connection_objects.rb
Instance Method Summary collapse
Instance Method Details
#connection_objects(options = {}) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/fb_graph/connections/ad_connection_objects.rb', line 4 def connection_objects( = {}) connection_objects = self.connection :connectionobjects, connection_objects.map! do |connection_object| AdConnectionObject.new connection_object[:id], connection_object.merge( :access_token => [:access_token] || self.access_token ) end end |