lib/wcc/media/speaker.rb in wcc-media-client-0.3.1 vs lib/wcc/media/speaker.rb in wcc-media-client-0.3.2
- old
+ new
@@ -9,13 +9,22 @@
tag_id
]
end
%w[
- featured
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
\ No newline at end of file