lib/protolink/channel.rb in protolink-0.2.6 vs lib/protolink/channel.rb in protolink-0.2.7

- old
+ new

@@ -1,13 +1,15 @@ module Protolink class Channel - attr_reader :id, :name, :description + attr_reader :id, :name, :description, :global, :uuid def initialize(connection, attributes = {}) @connection = connection @id = attributes['id'] @name = attributes['name'] @description = attributes['description'] + @global = attributes['global'] + @uuid = attributes['uuid'] @loaded = false end # Post a new message to the chat channel