Sha256: 4aa70d3a6c3ff03c1acc24972e7c788f8c582602126bc47119210be53ddd334f
Contents?: true
Size: 575 Bytes
Versions: 13
Compression:
Stored size: 575 Bytes
Contents
# frozen_string_literal: true module <%= camelized_app_name %> module Actions <%= module_controller_declaration %> <%= module_controller_offset %>class <%= camelized_action_name %> < <%= camelized_app_name %>::Action <%- if bundled_views? -%> <%= module_controller_offset %> def handle(request, response) <%- else -%> <%= module_controller_offset %> def handle(request, response) <%= module_controller_offset %> response.body = self.class.name <%- end -%> <%= module_controller_offset %> end <%= module_controller_offset %>end <%= module_controller_end %> end end
Version data entries
13 entries across 13 versions & 2 rubygems