aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/events.rb2
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