Class: Boty::Slack::Channel

Inherits:
Object
  • Object
show all
Defined in:
lib/boty/slack/channel.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, info:) ⇒ Channel

Returns a new instance of Channel.



6
7
8
9
# File 'lib/boty/slack/channel.rb', line 6

def initialize(id:, info:)
  @id   = id
  @info = info
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/boty/slack/channel.rb', line 4

def id
  @id
end