lib/feedjira/parser/google_docs_atom.rb in feedjira-2.2.0 vs lib/feedjira/parser/google_docs_atom.rb in feedjira-3.0.0.beta1
- old
+ new
@@ -1,16 +1,16 @@
-require File.expand_path('./atom', File.dirname(__FILE__))
+require File.expand_path("./atom", File.dirname(__FILE__))
# rubocop:disable Style/Documentation
# rubocop:disable Style/DocumentationMethod
module Feedjira
module Parser
class GoogleDocsAtom
include SAXMachine
include FeedUtilities
element :title
element :subtitle, as: :description
- element :link, as: :url, value: :href, with: { type: 'text/html' }
- element :link, as: :feed_url, value: :href, with: { type: 'application/atom+xml' } # rubocop:disable Metrics/LineLength
+ element :link, as: :url, value: :href, with: { type: "text/html" }
+ element :link, as: :feed_url, value: :href, with: { type: "application/atom+xml" } # rubocop:disable Metrics/LineLength
elements :link, as: :links, value: :href
elements :entry, as: :entries, class: GoogleDocsAtomEntry
def url
@url ||= links.first