Class: Ansible::Ruby::Modules::Bearychat

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/notification/bearychat.rb

Overview

The M(bearychat) module sends notifications to U(bearychat.com) via the Incoming Robot integration.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#attachmentsArray<Hash>, ...

Returns Define a list of attachments. For more information, see github.com/bearyinnovative/bearychat-tutorial/blob/master/robots/incoming.md#attachments.

Returns:



28
# File 'lib/ansible/ruby/modules/generated/notification/bearychat.rb', line 28

attribute :attachments

#channelString?

Returns Channel to send the message to. If absent, the message goes to the default channel selected by the I(url).

Returns:

  • (String, nil)

    Channel to send the message to. If absent, the message goes to the default channel selected by the I(url).



24
# File 'lib/ansible/ruby/modules/generated/notification/bearychat.rb', line 24

attribute :channel

#markdown:yes, ...

Returns If C(yes), text will be parsed as markdown.

Returns:

  • (:yes, :no, nil)

    If C(yes), text will be parsed as markdown.



20
# File 'lib/ansible/ruby/modules/generated/notification/bearychat.rb', line 20

attribute :markdown

#textString?

Returns Message to send.

Returns:

  • (String, nil)

    Message to send.



16
# File 'lib/ansible/ruby/modules/generated/notification/bearychat.rb', line 16

attribute :text

#urlString

Returns BearyChat WebHook URL. This authenticates you to the bearychat service. It looks like C(hook.bearychat.com/=ae2CF/incoming/e61bd5c57b164e04b11ac02e66f47f60).

Returns:



12
# File 'lib/ansible/ruby/modules/generated/notification/bearychat.rb', line 12

attribute :url