lib/mangadex/chapter.rb in mangadex-5.4.11.2 vs lib/mangadex/chapter.rb in mangadex-5.4.11.3
- old
+ new
@@ -78,15 +78,9 @@
sig { params(data_saver: T::Boolean).returns(T.nilable(T::Array[String])) }
def page_urls(data_saver: true)
Mangadex::AtHome.page_urls(id, data_saver: data_saver)
end
- def as_json(*)
- super.merge({
- preview_image_url: preview_image_url,
- })
- end
-
def self.attributes_to_inspect
[:id, :type, :title, :volume, :chapter, :pages, :publish_at]
end
end
end