Sha256: cf2a0f3db058482dd01851c2cbe5adb33abf3d9f4c9f65364473dbc0970f8954
Contents?: true
Size: 452 Bytes
Versions: 9
Compression:
Stored size: 452 Bytes
Contents
# 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
Version data entries
9 entries across 9 versions & 1 rubygems