Method: AdobeConnect::Meeting.find_by_id

Defined in:
lib/adobe_connect/meeting.rb

.find_by_id(sco_id, service = AdobeConnect::Service.new) ⇒ Object



53
54
55
56
57
58
59
60
61
62
# File 'lib/adobe_connect/meeting.rb', line 53

def self.find_by_id(sco_id, service = AdobeConnect::Service.new)
  response = service.sco_info(sco_id: sco_id)
  sco_info = response.at_xpath('//sco')

  if !sco_info.nil?
    load_from_xml(sco_info, service)
  else
    nil
  end
end