Class: Ansible::Ruby::Modules::Irc
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Irc
- Defined in:
- lib/ansible/ruby/modules/generated/extras/notification/irc.rb
Instance Method Summary collapse
-
#channel ⇒ String
Channel name.
-
#color ⇒ :none, ...
Text color for the message.
-
#key ⇒ Object?
Channel key.
-
#msg ⇒ String
The message body.
-
#nick ⇒ String?
Nickname to send the message from.
-
#nick_to ⇒ Array<String>, ...
A list of nicknames to send the message to.
-
#part ⇒ Boolean?
Designates whether user should part from channel after sending message or not.
-
#passwd ⇒ Object?
Server password.
-
#port ⇒ Integer?
IRC server port number.
-
#server ⇒ String?
IRC server name/address.
-
#style ⇒ :bold, ...
Text style for the message.
-
#timeout ⇒ Integer?
Timeout to use while waiting for successful registration and join messages, this is to prevent an endless loop.
-
#topic ⇒ Object?
Set the channel topic.
-
#use_ssl ⇒ Boolean?
Designates whether TLS/SSL should be used when connecting to the IRC server.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#channel ⇒ String
Returns Channel name. One of nick_to or channel needs to be set. When both are set, the message will be sent to both of them.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 33 attribute :channel |
#color ⇒ :none, ...
Returns Text color for the message. (“none” is a valid option in 1.6 or later, in 1.6 and prior, the default color is black, not “none”). Added 11 more colors in version 2.0.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 29 attribute :color |
#key ⇒ Object?
Returns Channel key.
41 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 41 attribute :key |
#msg ⇒ String
Returns The message body.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 22 attribute :msg |
#nick ⇒ String?
Returns Nickname to send the message from. May be shortened, depending on server’s NICKLEN setting.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 18 attribute :nick |
#nick_to ⇒ Array<String>, ...
Returns A list of nicknames to send the message to. One of nick_to or channel needs to be set. When both are defined, the message will be sent to both of them.
37 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 37 attribute :nick_to |
#part ⇒ Boolean?
Returns Designates whether user should part from channel after sending message or not. Useful for when using a faux bot and not wanting join/parts between messages.
55 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 55 attribute :part |
#passwd ⇒ Object?
Returns Server password.
44 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 44 attribute :passwd |
#port ⇒ Integer?
Returns IRC server port number.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 14 attribute :port |
#server ⇒ String?
Returns IRC server name/address.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 10 attribute :server |
#style ⇒ :bold, ...
Returns Text style for the message. Note italic does not work on some clients.
59 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 59 attribute :style |
#timeout ⇒ Integer?
Returns Timeout to use while waiting for successful registration and join messages, this is to prevent an endless loop.
47 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 47 attribute :timeout |
#topic ⇒ Object?
Returns Set the channel topic.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 26 attribute :topic |
#use_ssl ⇒ Boolean?
Returns Designates whether TLS/SSL should be used when connecting to the IRC server.
51 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/irc.rb', line 51 attribute :use_ssl |