Class: LinkedIn::Message
- Inherits:
-
Object
- Object
- LinkedIn::Message
- Defined in:
- lib/linked_in/message.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#recipients ⇒ Object
Returns the value of attribute recipients.
-
#subject ⇒ Object
Returns the value of attribute subject.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
4 5 6 |
# File 'lib/linked_in/message.rb', line 4 def body @body end |
#recipients ⇒ Object
Returns the value of attribute recipients.
4 5 6 |
# File 'lib/linked_in/message.rb', line 4 def recipients @recipients end |
#subject ⇒ Object
Returns the value of attribute subject.
4 5 6 |
# File 'lib/linked_in/message.rb', line 4 def subject @subject end |
Instance Method Details
#to_xml ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/linked_in/message.rb', line 6 def to_xml "<mailbox-item> #{recipients.to_xml} <subject>#{subject}</subject> <body>#{body}</body> </mailbox-item>" end |