diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-10-10 22:34:58 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-10-10 22:34:58 +0200 |
commit | bc47fa5f7ba84d7ad57ed4bb40e5851cf97c4023 (patch) | |
tree | ece1b06b1a4be86daa77f0a85afd995a9de6c134 /lib | |
parent | f2fb5a3301128f7be1743fa6fc9f5f53251536f0 (diff) | |
download | ramaskrik-program-bc47fa5f7ba84d7ad57ed4bb40e5851cf97c4023.tar.gz ramaskrik-program-bc47fa5f7ba84d7ad57ed4bb40e5851cf97c4023.tar.bz2 ramaskrik-program-bc47fa5f7ba84d7ad57ed4bb40e5851cf97c4023.zip |
Add link to info page from movie title.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/events.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |