Method: Awspec::Generator::Spec::CloudwatchEvent#generate_all

Defined in:
lib/awspec/generator/spec/cloudwatch_event.rb

#generate_allObject



5
6
7
8
9
# File 'lib/awspec/generator/spec/cloudwatch_event.rb', line 5

def generate_all
  events = select_all_cloudwatch_events
  raise 'Not Found event' if events.empty?
  ERB.new(event_spec_template, nil, '-').result(binding).chomp
end