Sha256: 819336fe1216409cacf657ab3deb51f0d9cdea5de3954b0328a379208d3acfa8

Contents?: true

Size: 215 Bytes

Versions: 64

Compression:

Stored size: 215 Bytes

Contents

class <%= class_name.camelize %> < Avo::BaseAction
  self.name = '<%= name.underscore.humanize %>'

  def handle(models:, fields:)
    models.each do |model|
      # Do something with your models.
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
avo-1.16.4 lib/generators/avo/templates/action.tt
avo-1.16.3 lib/generators/avo/templates/action.tt
avo-1.16.2 lib/generators/avo/templates/action.tt
avo-1.16.1 lib/generators/avo/templates/action.tt
avo-1.16.0 lib/generators/avo/templates/action.tt
avo-1.15.0 lib/generators/avo/templates/action.tt
avo-1.15.0.pre.1 lib/generators/avo/templates/action.tt
avo-1.14.0 lib/generators/avo/templates/action.tt
avo-1.13.3 lib/generators/avo/templates/action.tt
avo-1.13.2 lib/generators/avo/templates/action.tt
avo-1.13.1 lib/generators/avo/templates/action.tt
avo-1.13.0 lib/generators/avo/templates/action.tt
avo-1.12.4 lib/generators/avo/templates/action.tt
avo-1.12.3 lib/generators/avo/templates/action.tt
avo-1.12.2 lib/generators/avo/templates/action.tt
avo-1.12.1 lib/generators/avo/templates/action.tt
avo-1.12.0 lib/generators/avo/templates/action.tt
avo-1.11.6 lib/generators/avo/templates/action.tt
avo-1.11.5 lib/generators/avo/templates/action.tt
avo-1.11.4 lib/generators/avo/templates/action.tt