Module: GSGraph::Connections::AdConnectionObjects
- Included in:
- AdAccount
- Defined in:
- lib/gs_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/gs_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 |