Class: Miu::Messages::Unknown

Inherits:
Base
  • Object
show all
Defined in:
lib/miu/messages/unknown.rb

Instance Attribute Summary

Attributes inherited from Base

#content, #id, #network, #time, #type

Instance Method Summary collapse

Methods inherited from Base

#to_h, #to_msgpack

Constructor Details

#initialize(value) ⇒ Unknown

Returns a new instance of Unknown.



6
7
8
# File 'lib/miu/messages/unknown.rb', line 6

def initialize(value)
  super({:type => 'unknown', :content => value})
end