Sha256: 4619387cf25f748f75b448f5c4ae926959dc03070d65b321424b5c7485820800
Contents?: true
Size: 639 Bytes
Versions: 3
Compression:
Stored size: 639 Bytes
Contents
# frozen_string_literal: true require_relative 'base' class WCC::Media::Series < WCC::Media::Base active_record_shim do filters %w[ begin_on_or_before_date begin_on_or_after_date end_on_or_before_date end_on_or_after_date tag_id speaker_id scripture_book_id title_like legacy_id ] end %w[ title subtitle summary date_range messages_count ].each do |att| define_method att do raw[att] end end %w[ images series_type ].each do |att| define_method att do OpenStruct.new(raw[att]) if raw[att] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wcc-media-client-0.6.1 | lib/wcc/media/series.rb |
wcc-media-client-0.6.0 | lib/wcc/media/series.rb |
wcc-media-client-0.5.0 | lib/wcc/media/series.rb |