Class: Sesc::Exporter::Events

Inherits:
Object
  • Object
show all
Defined in:
lib/sesc/exporter/events.rb

Constant Summary collapse

ATTRIBUTES =
%i[
  title description place date price hours age_limit availability url
].freeze

Class Method Summary collapse

Class Method Details



11
12
13
14
15
16
17
# File 'lib/sesc/exporter/events.rb', line 11

def print(sescs)
  sescs.each do |sesc, events|
    events.each do |event|
      print_event_for(sesc, event) if availability?(event)
    end
  end
end