Class: LinkedIn::Recipient
- Inherits:
-
Object
- Object
- LinkedIn::Recipient
- Defined in:
- lib/linked_in/recipient.rb
Instance Attribute Summary collapse
-
#person ⇒ Object
Returns the value of attribute person.
Instance Method Summary collapse
Instance Attribute Details
#person ⇒ Object
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_xml ⇒ Object
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 |