def channels(config, network)
      config.integrations.map(&:channels).flatten.select do |channel|
        network == channel.network
      end
    end
def channels(config, network)
      config.integrations.map(&:channels).flatten.select do |channel|
        network == channel.network
      end
    end
Gets the list of channels associated with this network.

 @param config [Config] the configuration to search
 @param network [Network] the network to search for
 @return [Array<Channel>] the list of channels