Sha256: 2b845761ccadbb66e2fa5fea6fae088db0b3eae876267e2704ae2d736039f7c7
Contents?: true
Size: 329 Bytes
Versions: 3
Compression:
Stored size: 329 Bytes
Contents
module Gares # @deprecated class Services < Base def all document.search('#page_content_resize_true h2'). map { |title| title.inner_html } rescue [] end private def document @document ||= Nokogiri::HTML(self.class.external_data(sncf_id, :"services-en-gare/service/")) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gares-2.0.0.pre.2 | lib/gares/services.rb |
gares-2.0.0.pre.1 | lib/gares/services.rb |
gares-2.0.0.pre.pre | lib/gares/services.rb |