Sha256: b50f7e2ef1d089a58e79b14855c43cce70a64c2a510319a9e3badbceb3cffc60

Contents?: true

Size: 165 Bytes

Versions: 3

Compression:

Stored size: 165 Bytes

Contents

module Engines
  class <%= class_name %> < Soybean::Engine
    self.service = <%= model_class_name %>.new
    self.endpoint = %r(^/<%= model_class_name %>)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
soybean-2.5.2 lib/soybean/generators/templates/engine.rb
soybean-2.5.1 lib/soybean/generators/templates/engine.rb
soybean-2.5.0 lib/soybean/generators/templates/engine.rb