Sha256: 4769f29f928b51f46fa8a28608aa73d4975e950c4eacc0ab3050b07a42a580b8
Contents?: true
Size: 428 Bytes
Versions: 16
Compression:
Stored size: 428 Bytes
Contents
require "baton" require "baton/api" require "json" module Baton class <%= config[:constant_array].last %>API < Baton::API # TODO - delete the dummy api method and add your own api # at this point, you can call methods on your project to # return meaningful responses (deploy status, for example) def self.dummy(env) message = {type: "dummy"} publish(message.to_json, "#{env}") end end end
Version data entries
16 entries across 16 versions & 1 rubygems