Sha256: e7ac47543c4bf5251683c9fec7bc11d10ba9256811ab83135e99af884a53f395

Contents?: true

Size: 369 Bytes

Versions: 16

Compression:

Stored size: 369 Bytes

Contents

require "baton"
require "baton/service"
require "baton/<%=config[:name]%>/version"
require "baton/<%=config[:name]%>/<%=config[:name]%>-consumer"

module Baton
  class <%= config[:constant_array].last %>Service < Baton::Service

    def setup_consumers
      srv = <%=config[:constant_name]%>Consumer.new(server.fqdn, server)
      add_consumer(srv)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
baton-0.7.0 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.6.0 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.5.6 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.5.5 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.5.4 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.5.2 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.4.10 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.4.9 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.4.8 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.4.5 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.4.4 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.4.3 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.4.2 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.4.1 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.3.7 lib/baton/templates/gem/lib/baton/gem.rb.tt
baton-0.3.6 lib/baton/templates/gem/lib/baton/gem.rb.tt