Class: Boty::Slack::Channel
- Inherits:
-
Object
- Object
- Boty::Slack::Channel
- Defined in:
- lib/boty/slack/channel.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id:, info:) ⇒ Channel
constructor
A new instance of Channel.
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
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/boty/slack/channel.rb', line 4 def id @id end |