# frozen_string_literal: true require_relative 'base' class WCC::Media::Speaker < WCC::Media::Base active_record_shim do endpoint 'speakers' filters %w[ featured name_like tag_id ] end %w[ name ].each do |att| define_method att do raw[att] end end %w[ searchable featured ].each do |att| define_method att do raw[att] end alias_method "#{att}?", att end end