lib/fandango/api/movies_near.rb in fandango-2.0.0 vs lib/fandango/api/movies_near.rb in fandango-2.1.0
- old
+ new
@@ -11,10 +11,10 @@
Parser.(xml)
end
def request(postal_code)
cleaned_postal_code = postal_code.to_s.gsub(' ', '')
- url_for_postal_code = "http://www.fandango.com/rss/moviesnearme_#{cleaned_postal_code}.rss"
+ url_for_postal_code = "https://www.fandango.com/rss/moviesnearme_#{cleaned_postal_code}.rss"
open(url_for_postal_code)
end
module Parser