Sha256: fbedc1d3248b49e8ade075e96764e7187e9bd24fdc35dc2bea744d92270cd8c3

Contents?: true

Size: 286 Bytes

Versions: 3

Compression:

Stored size: 286 Bytes

Contents

<% if @module_name.present? -%>
module Operations::<%= @module_name %>::<%= @class_name %>
<% else -%>
module Operations::<%= @class_name %>
<% end -%>
  class Destroy < RailsOps::Operation::Model::Destroy
    schema3 do
      str! :id
    end

    model ::<%= @class_name %>
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_ops-1.1.29 lib/generators/operation/templates/destroy.erb
rails_ops-1.1.28 lib/generators/operation/templates/destroy.erb
rails_ops-1.1.27 lib/generators/operation/templates/destroy.erb