require_relative 'base' class WCC::Media::Speaker < WCC::Media::Base active_record_shim do endpoint 'speakers' filters %w[ featured name_like tag_id ] end def id raw['id']&.to_s end def legacy_id raw['legacy_id']&.to_s end %w[ featured name ].each do |att| define_method att do raw[att] end end end