<% if @module_name.present? -%> module Operations::<%= @module_name %>::<%= @class_name %> <% else -%> module Operations::<%= @class_name %> <% end -%> class Update < RailsOps::Operation::Model::Update schema3 do int! :id, cast_str: true hsh? :<%= @underscored_name %> do end end model ::<%= @class_name %> end end