Sha256: 45c60cfc4d20476dd40ab4052d1e0be5968559ebb7db61ac3835c31534a054a4

Contents?: true

Size: 451 Bytes

Versions: 9

Compression:

Stored size: 451 Bytes

Contents

module Feedjira
  module Podcast
    module Channel
      module Feedburner
        def self.included(base)

          base.element :"feedburner:info", as: :feedburner_info_uri, value: :uri do |uri|
            Addressable::URI.parse(uri)
          end

          def feedburner
            info = Struct.new(:uri).new(feedburner_info_uri)
            @feedburner ||= Struct.new(:info).new(info)
          end

        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
feedjira-podcast-0.9.8 lib/feedjira/podcast/channel/feedburner.rb
feedjira-podcast-0.9.7 lib/feedjira/podcast/channel/feedburner.rb
feedjira-podcast-0.9.6 lib/feedjira/podcast/channel/feedburner.rb
feedjira-podcast-0.9.5 lib/feedjira/podcast/channel/feedburner.rb
feedjira-podcast-0.9.4 lib/feedjira/podcast/channel/feedburner.rb
feedjira-podcast-0.9.3 lib/feedjira/podcast/channel/feedburner.rb
feedjira-podcast-0.9.2 lib/feedjira/podcast/channel/feedburner.rb
feedjira-podcast-0.9.1 lib/feedjira/podcast/channel/feedburner.rb
feedjira-podcast-0.9.0 lib/feedjira/podcast/channel/feedburner.rb