Class: Miu::Messages::Leave
Instance Attribute Summary
Attributes inherited from Base
#content, #id, #network, #time, #type
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Leave
constructor
A new instance of Leave.
Methods inherited from Base
Constructor Details
#initialize(options = {}) ⇒ Leave
7 8 9 10 11 |
# File 'lib/miu/messages/leave.rb', line 7 def initialize( = {}) [:type] ||= 'leave' [:content] = Miu::Utility.adapt(Resources::LeaveContent, [:content] || {}) super end |