lib/ticketfly.rb in ticketfly-0.2.3 vs lib/ticketfly.rb in ticketfly-0.2.4

- old
+ new

@@ -21,9 +21,13 @@ venue.name = json['name'] venue.json = json venue end + def events + Events.get_by_venue_id(self.id) + end + def next_event Events.get_next_by_venue_id(self.id) end end \ No newline at end of file