Class: LinkedIn::Recipients
- Inherits:
-
Object
- Object
- LinkedIn::Recipients
- Defined in:
- lib/linked_in/recipients.rb
Instance Attribute Summary collapse
-
#recipients ⇒ Object
Returns the value of attribute recipients.
Instance Method Summary collapse
Instance Attribute Details
#recipients ⇒ Object
Returns the value of attribute recipients.
4 5 6 |
# File 'lib/linked_in/recipients.rb', line 4 def recipients @recipients end |
Instance Method Details
#to_xml ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/linked_in/recipients.rb', line 6 def to_xml str = '<recipients>' recipients.each do |recipient| str << "#{recipient.to_xml}" end str << "</recipients>" str end |