Sha256: 09b82617cb09c84c86d75b5aac5666573b8b9c68ff0225e01c36f193bc68dd70

Contents?: true

Size: 291 Bytes

Versions: 4

Compression:

Stored size: 291 Bytes

Contents

class <%= module_name %>::Service < ServiceContract::Avro::Service
  class << self
    def data_dir
      File.expand_path("<%= path_to_root %>/contracts", __FILE__)
    end

    def title
      "<%= service_name %>"
    end

    def description
      "<%= service_name %>"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
service_contract-generator-1.0.0 template/service.rb.erb
service_contract-generator-0.0.3 template/service.rb.erb
service_contract-generator-0.0.2 template/service.rb.erb
service_contract-generator-0.0.1 template/service.rb.erb