Sha256: 2b7d8050891a81d15f7e2ae8d67ddd025e209ea045762877e6ef7a75cbc8ba80
Contents?: true
Size: 393 Bytes
Versions: 2
Compression:
Stored size: 393 Bytes
Contents
module Feedjira module Podcast module Item class GUID include SAXMachine include FeedUtilities value :guid do |guid| perma_link? ? Addressable::URI.parse(guid) : guid end attribute :isPermaLink, as: :is_perma_link def perma_link? is_perma_link == "false" ? false : true end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
feedjira-podcast-0.9.10 | lib/feedjira/podcast/item/guid.rb |
feedjira-podcast-0.9.9 | lib/feedjira/podcast/item/guid.rb |