Method: AdobeConnectAPI#report_bulk_objects
- Defined in:
- lib/adobe_connect_api.rb
#report_bulk_objects(filter = nil, sort = nil) ⇒ Object
returns all SCOs as a result object
333 334 335 336 337 338 339 340 341 342 343 |
# File 'lib/adobe_connect_api.rb', line 333 def report_bulk_objects(filter = nil, sort = nil) res = query("report-bulk-objects", "filter" => filter, "sort" => sort) data = XmlSimple.xml_in(res.body) rows = [] if data["report-bulk-objects"] data["report-bulk-objects"].each do |trans| rows = trans["row"] end end return AdobeConnectAPI::Result.new(data["status"][0]["code"], rows) end |