lib/rrj/janus/responses/response.rb in ruby_rabbitmq_janus-1.2.3 vs lib/rrj/janus/responses/response.rb in ruby_rabbitmq_janus-1.2.4
- old
+ new
@@ -6,9 +6,13 @@
module Responses
# @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv>
# Read and decryt a response to janus
class Response
# Instanciate a response
+ #
+ # @param [Hash] response_janus
+ # Request parsing after Janus/RabbitMQ receive a response to request
+ # sending by user
def initialize(response_janus)
@request = response_janus
rescue => error
Tools::Log.instance.debug "Request error [initialize] : #{@request}"
raise Errors::JanusResponseInit, error