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