Sha256: 30528d95e8205456a10f26e0124a98b80bb65dffee5e3ccfb52a3861e1cd71de
Contents?: true
Size: 730 Bytes
Versions: 31
Compression:
Stored size: 730 Bytes
Contents
# frozen_string_literal: true module RubyRabbitmqJanus module Tools module Replaces # Format message request with good data to HASH format for Session # request. # Manage session and plugin. # # @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv> class Session < Replace private def replace_element_classic super replace_session if request.key?('session_id') replace_plugin if request.key?('plugin') end def replace_session request['session_id'] = type.convert('session_id', opts) end def replace_plugin request['plugin'] = type.convert('plugin') end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems