Class: LinkedIn::Recipient

Inherits:
Object
  • Object
show all
Defined in:
lib/linked_in/recipient.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#personObject

Returns the value of attribute person.



4
5
6
# File 'lib/linked_in/recipient.rb', line 4

def person
  @person
end

Instance Method Details

#to_xmlObject



6
7
8
9
10
11
12
# File 'lib/linked_in/recipient.rb', line 6

def to_xml
  str = ''
  
  str << "<recipient>#{person.to_xml}</recipient>"
  
  str
end