Class: Ansible::Ruby::Modules::Hipchat
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Hipchat
- Defined in:
- lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb
Instance Method Summary collapse
-
#api ⇒ String?
API url if using a self-hosted hipchat server.
-
#color ⇒ :yellow, ...
Background color for the message.
-
#from ⇒ String?
Name the message will appear be sent from.
-
#msg ⇒ String
The message body.
-
#msg_format ⇒ :text, ...
Message format.
-
#notify ⇒ :yes, ...
Notify or not (change the tab color, play a sound, etc).
-
#room ⇒ String
ID or name of the room.
-
#token ⇒ String
API token.
-
#validate_certs ⇒ :yes, ...
If C(no), SSL certificates will not be validated.
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
#api ⇒ String?
Returns API url if using a self-hosted hipchat server. For hipchat api version 2 use C(/v2) path in URI.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 42 attribute :api |
#color ⇒ :yellow, ...
Returns Background color for the message. Default is yellow.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 26 attribute :color |
#from ⇒ String?
Returns Name the message will appear be sent from. max 15 characters. Over 15, will be shorten.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 18 attribute :from |
#msg ⇒ String
Returns The message body.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 22 attribute :msg |
#msg_format ⇒ :text, ...
Returns message format. html or text. Default is text.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 30 attribute :msg_format |
#notify ⇒ :yes, ...
Returns notify or not (change the tab color, play a sound, etc).
34 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 34 attribute :notify |
#room ⇒ String
Returns ID or name of the room.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 14 attribute :room |
#token ⇒ String
Returns API token.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 10 attribute :token |
#validate_certs ⇒ :yes, ...
Returns If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 38 attribute :validate_certs |