Sha256: b776a2c66619ae15f36f5715caa909aac48cceee9572683b8f7078fd61665e49

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

<% module_namespacing do -%>
class <%= class_name %>Messenger < ApplicationMessenger
<% actions.each do |action| -%>

  def <%= action %>
    @greeting = "Hi"
    message_to_slack(channel: '#your_channel')
  end

<% end -%>
end
<% end -%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
action_messenger-0.1.4 lib/generators/rails/messenger/templates/messenger.rb.tt
action_messenger-0.1.3 lib/generators/rails/messenger/templates/messenger.rb.tt
action_messenger-0.1.2 lib/generators/rails/messenger/templates/messenger.rb.tt