Returns a new instance of TextContent.
8 9 10 11 12 13
# File 'lib/miu/resources/text_content.rb', line 8 def initialize(options = {}) @room = Miu::Utility.adapt(Room, options[:room] || {}) @user = Miu::Utility.adapt(User, options[:user] || {}) @text = options[:text] super options end