Method: AdobeConnect::Group#attrs

Defined in:
lib/adobe_connect/group.rb

#attrsObject

group_options - A hash with the following keys:

name        - The group’s name.
description - The group's description


13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/adobe_connect/group.rb', line 13

def attrs
  atrs = { :has_children => 1, :name => name, :description => description }

  if !self.id.nil?
    atrs.merge!(:principal_id => self.id)
  else
    atrs.merge!(
      :type => 'group'
    )
  end
  atrs
end