Sha256: deb12e72c603802496e0ba23708ffdfa3adc073f4319de5d1abf74c39d1d5ce8

Contents?: true

Size: 612 Bytes

Versions: 4

Compression:

Stored size: 612 Bytes

Contents

require 'pact_broker/logging'
require '<%= require_path_prefix %>/repositories'
require '<%= require_path_prefix %>/services'

module <%= model_top_module %>
  module <%= model_secondary_module %>
    module <%= service_class_name %>
      extend self
      extend <%= model_top_module %>::Repositories
      extend <%= model_top_module %>::Services
      include PactBroker::Logging

      def self.find_by_uuid(uuid)
        <%= repository_instance_name %>.find_by_uuid(uuid)
      end

      def self.find_by_uuid!(uuid)
        <%= repository_instance_name %>.find_by_uuid!(uuid)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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