| Class | Jabber::Bytestreams::IqSi |
| In: |
lib/xmpp4r/bytestreams/iq/si.rb
|
| Parent: | XMPPElement |
# File lib/xmpp4r/bytestreams/iq/si.rb, line 19
19: def initialize(id=nil, profile=nil, mime_type=nil)
20: super()
21:
22: self.id = id
23: self.profile = profile
24: self.mime_type = mime_type
25: end
Session ID of this stream
# File lib/xmpp4r/bytestreams/iq/si.rb, line 29
29: def id
30: attributes['id']
31: end
Set Session ID of this stream
# File lib/xmpp4r/bytestreams/iq/si.rb, line 35
35: def id=(s)
36: attributes['id'] = s
37: end
MIME type of this stream
# File lib/xmpp4r/bytestreams/iq/si.rb, line 41
41: def mime_type
42: attributes['mime-type']
43: end
Set MIME type of this stream
# File lib/xmpp4r/bytestreams/iq/si.rb, line 47
47: def mime_type=(s)
48: attributes['mime-type'] = s
49: end