lib/picturehouse_uk/internal/website.rb in picturehouse_uk-3.0.6 vs lib/picturehouse_uk/internal/website.rb in picturehouse_uk-3.0.7
- old
+ new
@@ -14,9 +14,11 @@
# get the cinema contact information page for passed id
# @return [String]
def info(id)
get("cinema/info/#{id}")
+ rescue OpenURI::HTTPError
+ ''
end
# get the home page
# @return [String]
def home