Class: Skype::Chatmessage
- Inherits:
-
Object
- Object
- Skype::Chatmessage
- Defined in:
- lib/skype/chatmessage.rb
Instance Method Summary collapse
- #body(&block) ⇒ Object
- #chat(&block) ⇒ Object
-
#initialize(id) ⇒ Chatmessage
constructor
A new instance of Chatmessage.
Constructor Details
#initialize(id) ⇒ Chatmessage
Returns a new instance of Chatmessage.
3 4 5 |
# File 'lib/skype/chatmessage.rb', line 3 def initialize(id) @chatmessage_id = id end |
Instance Method Details
#body(&block) ⇒ Object
14 15 16 17 |
# File 'lib/skype/chatmessage.rb', line 14 def body(&block) return unless block_given? get_property("BODY", &block) end |