lib/wcc/media/series.rb in wcc-media-client-0.7.1 vs lib/wcc/media/series.rb in wcc-media-client-0.7.2
- old
+ new
@@ -12,10 +12,11 @@
tag_id
speaker_id
scripture_book_id
title_like
legacy_id
+ hide_from_internal_search
]
end
%w[
title
@@ -23,13 +24,18 @@
summary
external_playlist
show_landing_page
date_range
messages_count
+ hide_from_internal_search
].each do |att|
define_method att do
raw[att]
end
+ end
+
+ def hide_from_internal_search
+ raw['flags']['hide_from_internal_search'] || false
end
%w[
images
series_type