Sha256: 411b9f07b9754d952100844f2c31eb61146d3e9fefb3062ca133d4a6b9ca415f
Contents?: true
Size: 368 Bytes
Versions: 66
Compression:
Stored size: 368 Bytes
Contents
class Endpoint def initialize(config) @config = config end def address @config.keys.first end def channel_ids channel_ids = [] @config.values.each do |settings| settings.each do |setting| setting['channel_ids'].each do |channel_id| channel_ids << channel_id end end end channel_ids end end
Version data entries
66 entries across 66 versions & 1 rubygems