lib/apple-news/properties/advertising_settings.rb in apple-news-0.1.1 vs lib/apple-news/properties/advertising_settings.rb in apple-news-0.2.0
- old
+ new
@@ -1,7 +1,10 @@
+require 'apple-news/properties/advertising_layout'
+
module AppleNews
module Property
class AdvertisingSettings < Base
- optional_properties :frequency, :layout
+ optional_property :frequency
+ optional_property :layout, nil, Property::AdvertisingLayout
end
end
end