Sha256: 0e3c420be27527212a6443a075def4e9cb2fa1a42319f0a2122e12d5c23bde01

Contents?: true

Size: 238 Bytes

Versions: 3

Compression:

Stored size: 238 Bytes

Contents

<% module_namespacing do -%>
class <%= class_name %>Messenger < ActionMessenger::Base
<% 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.1 lib/generators/rails/messenger/templates/messenger.rb.tt
action_messenger-0.0.2 lib/generators/rails/messenger/templates/messenger.rb.tt
action_messenger-0.0.1 lib/generators/rails/messenger/templates/messenger.rb.tt