Method: Codebot::Channel#set_network
- Defined in:
- lib/codebot/channel.rb
#set_network(network, conf) ⇒ Object
Sets the network for this channel.
57 58 59 60 61 62 |
# File 'lib/codebot/channel.rb', line 57 def set_network(network, conf) @network = valid! network, valid_network(network, conf), :@network, required: true, required_error: 'channels must have a network', invalid_error: 'invalid channel network %s' end |