# frozen_string_literal: true module RubyRabbitmqJanus module Janus module Messages # @author VAILLANT Jeremy # # Create an standard message class Standard < Message # Return options to message for rabbitmq def options properties.options rescue => error raise Errors::JanusMessagePropertie, error end private # Transform raw request in request to janus, so replace element , # and other with real value def prepare_request(options) @request = Tools::Replace.new(request, options).transform_request super end end end end end