Class: RubyRabbitmqJanus::Janus::Messages::Admin

Inherits:
Message
  • Object
show all
Defined in:
lib/rrj/janus/messages/admin.rb

Overview

Create an message for janus

Author:

Instance Attribute Summary

Attributes inherited from Message

#type

Instance Method Summary collapse

Methods inherited from Message

#correlation, #to_hash, #to_json, #to_nice_json

Constructor Details

#initialize(template_request, options = {}) ⇒ Admin

Returns a new instance of Admin.



10
11
12
# File 'lib/rrj/janus/messages/admin.rb', line 10

def initialize(template_request, options = {})
  super(template_request, options)
end

Instance Method Details

#optionsObject

Return options to message for rabbitmq



15
16
17
# File 'lib/rrj/janus/messages/admin.rb', line 15

def options
  properties.options_admin
end