Sha256: 66b8cf3abe59947c40d571a2a6e5f8cd9d773bda535327745d73c8495011b7a5

Contents?: true

Size: 294 Bytes

Versions: 6

Compression:

Stored size: 294 Bytes

Contents

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[
    featured
    name
  ].each do |att|
    define_method att do
      raw[att]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wcc-media-client-0.3.1 lib/wcc/media/speaker.rb
wcc-media-client-0.3.0 lib/wcc/media/speaker.rb
wcc-media-client-0.2.4 lib/wcc/media/speaker.rb
wcc-media-client-0.2.3 lib/wcc/media/speaker.rb
wcc-media-client-0.2.2 lib/wcc/media/speaker.rb
wcc-media-client-0.2.1 lib/wcc/media/speaker.rb