Class: Ansible::Ruby::Modules::Nexmo
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nexmo
- Defined in:
- lib/ansible/ruby/modules/generated/extras/notification/nexmo.rb
Overview
Send a SMS message via nexmo
Instance Method Summary collapse
-
#api_key ⇒ String
Nexmo API Key.
-
#api_secret ⇒ String
Nexmo API Secret.
-
#dest ⇒ Array<Integer>, Integer
Phone number(s) to send SMS message to.
-
#msg ⇒ String
Message to text to send.
-
#src ⇒ Integer
Nexmo Number to send from.
-
#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, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#api_key ⇒ String
Returns Nexmo API Key.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/nexmo.rb', line 11 attribute :api_key |
#api_secret ⇒ String
Returns Nexmo API Secret.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/nexmo.rb', line 15 attribute :api_secret |
#dest ⇒ Array<Integer>, Integer
Returns Phone number(s) to send SMS message to.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/nexmo.rb', line 23 attribute :dest |
#msg ⇒ String
Returns Message to text to send. Messages longer than 160 characters will be split into multiple messages.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/nexmo.rb', line 27 attribute :msg |
#src ⇒ Integer
Returns Nexmo Number to send from.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/nexmo.rb', line 19 attribute :src |
#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.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/notification/nexmo.rb', line 31 attribute :validate_certs |