Sha256: 5b5afffb5ef0a2d29e8eaf9747695c884154a06ec323a37bce37ec738b0178be

Contents?: true

Size: 333 Bytes

Versions: 4

Compression:

Stored size: 333 Bytes

Contents

require 'sequel'
require 'pact_broker/repositories/helpers'

module <%= model_top_module %>
  module <%= model_secondary_module %>
    class <%= model_class_name %> < Sequel::Model
      plugin :timestamps, update_on_create: true

      dataset_module do
        include PactBroker::Repositories::Helpers
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pact_broker-2.83.0 scaffolding/templates/model.erb
pact_broker-2.82.0 scaffolding/templates/model.erb
pact_broker-2.81.0 scaffolding/templates/model.erb
pact_broker-2.80.0 scaffolding/templates/model.erb