From bc47fa5f7ba84d7ad57ed4bb40e5851cf97c4023 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 10 Oct 2024 22:34:58 +0200 Subject: Add link to info page from movie title. --- lib/events.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/events.rb') diff --git a/lib/events.rb b/lib/events.rb index de9af64..24404f1 100644 --- a/lib/events.rb +++ b/lib/events.rb @@ -8,6 +8,7 @@ module Events attr_reader :title attr_reader :venue attr_reader :image_url + attr_reader :info_link def initialize(attrs) @start_time = Time.parse(attrs['start_time']) @@ -15,6 +16,7 @@ module Events @title = attrs['title'] @venue = attrs['venue'] @image_url = attrs['image'] unless attrs['image'].length < 10 + @info_link = attrs['info_link'] end def date -- cgit v1.2.3