Sha256: 2efc1c12a3c42174928b76158278a44ebbe3e8d5d799e70a3b4499364ff07b6b

Contents?: true

Size: 302 Bytes

Versions: 26

Compression:

Stored size: 302 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
      int! :id, cast_str: true
    end

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
rails_ops-1.7.0 lib/generators/operation/templates/destroy.erb
rails_ops-1.6.0 lib/generators/operation/templates/destroy.erb
rails_ops-1.6.0.rc1 lib/generators/operation/templates/destroy.erb
rails_ops-1.6.0.rc0 lib/generators/operation/templates/destroy.erb
rails_ops-1.5.8 lib/generators/operation/templates/destroy.erb
rails_ops-1.5.7 lib/generators/operation/templates/destroy.erb
rails_ops-1.5.6 lib/generators/operation/templates/destroy.erb
rails_ops-1.5.5 lib/generators/operation/templates/destroy.erb
rails_ops-1.5.4 lib/generators/operation/templates/destroy.erb
rails_ops-1.5.0 lib/generators/operation/templates/destroy.erb
rails_ops-1.4.8 lib/generators/operation/templates/destroy.erb
rails_ops-1.4.7 lib/generators/operation/templates/destroy.erb
rails_ops-1.4.6 lib/generators/operation/templates/destroy.erb
rails_ops-1.4.5 lib/generators/operation/templates/destroy.erb
rails_ops-1.4.4 lib/generators/operation/templates/destroy.erb
rails_ops-1.4.3 lib/generators/operation/templates/destroy.erb
rails_ops-1.4.2 lib/generators/operation/templates/destroy.erb
rails_ops-1.4.1 lib/generators/operation/templates/destroy.erb
rails_ops-1.4.0 lib/generators/operation/templates/destroy.erb
rails_ops-1.3.0 lib/generators/operation/templates/destroy.erb