Sha256: e117d03a3ef4f62557056e4cb3c2e6f827ae8cac99da8a6f18e4c3002255f50b

Contents?: true

Size: 372 Bytes

Versions: 15

Compression:

Stored size: 372 Bytes

Contents

module AppleNews
  module Component
    module Audio
      extend ActiveSupport::Concern

      included do
        role "audio"
        required_property :url
        optional_properties :accessibility_caption, :caption, :explicit_content, :image_url

        property_inflection :url, 'URL'
        property_inflection :image_url, 'imageURL'
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
apple-news-0.5.1 lib/apple-news/components/audio.rb
apple-news-0.5.0 lib/apple-news/components/audio.rb
apple-news-0.4.2 lib/apple-news/components/audio.rb
apple-news-0.4.1 lib/apple-news/components/audio.rb
apple-news-0.4.0 lib/apple-news/components/audio.rb
apple-news-0.3.1 lib/apple-news/components/audio.rb
apple-news-0.3.0 lib/apple-news/components/audio.rb
apple-news-0.2.5 lib/apple-news/components/audio.rb
apple-news-0.2.4 lib/apple-news/components/audio.rb
apple-news-0.2.3 lib/apple-news/components/audio.rb
apple-news-0.2.2 lib/apple-news/components/audio.rb
apple-news-0.2.1 lib/apple-news/components/audio.rb
apple-news-0.2.0 lib/apple-news/components/audio.rb
apple-news-0.1.1 lib/apple-news/components/audio.rb
apple-news-0.1.0 lib/apple-news/components/audio.rb