Represents an item in the internal data queue
# File lib/xmpp4r/bytestreams/helper/ibb/base.rb, line 237 def initialize(type, seq=nil, data_text='') unless [:data, :close].include? type raise "Unknown IBBQueueItem type: #{type}" end @type = type @seq = seq @data = data_text end
Return the Base64-decoded data
There's no need to catch Exceptions here, as none are thrown.
# File lib/xmpp4r/bytestreams/helper/ibb/base.rb, line 252 def data Base64::decode64(@data) end