class Rubirai::ForwardMessage

The forward message type

Public Class Methods

new(hash, bot = nil) click to toggle source

@private

Calls superclass method Rubirai::Message::new
# File lib/rubirai/messages/message.rb, line 465
def initialize(hash, bot = nil)
  super :Forward, bot
  @title = hash['title']
  @brief = hash['brief']
  @source = hash['source']
  @summary = hash['summary']
  @node_list = hash['nodeList'].each do |chain|
    Node.new chain, bot
  end
end