Sha256: 7bb11963cb99ebc74042bb8ed9e15fef9890949cedb632783e5c4864f95280ae

Contents?: true

Size: 437 Bytes

Versions: 2

Compression:

Stored size: 437 Bytes

Contents

module Feedjira
  module Podcast
    module Channel
      class Image
        include SAXMachine
        include FeedUtilities

        element :url do |url|
          Addressable::URI.parse(url)
        end

        element :title

        element :link do |link|
          Addressable::URI.parse(link)
        end

        element :width, &:to_f
        element :height, &:to_f
        element :description
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
feedjira-podcast-0.9.10 lib/feedjira/podcast/channel/image.rb
feedjira-podcast-0.9.9 lib/feedjira/podcast/channel/image.rb