Class: Ansible::Ruby::Modules::Nexmo
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nexmo
- Defined in:
- lib/ansible/ruby/modules/generated/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, fix_inclusion, #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.
12 |
# File 'lib/ansible/ruby/modules/generated/notification/nexmo.rb', line 12 attribute :api_key |
#api_secret ⇒ String
Returns Nexmo API Secret.
16 |
# File 'lib/ansible/ruby/modules/generated/notification/nexmo.rb', line 16 attribute :api_secret |
#dest ⇒ Array<Integer>, Integer
Returns Phone number(s) to send SMS message to.
24 |
# File 'lib/ansible/ruby/modules/generated/notification/nexmo.rb', line 24 attribute :dest |
#msg ⇒ String
Returns Message to text to send. Messages longer than 160 characters will be split into multiple messages.
28 |
# File 'lib/ansible/ruby/modules/generated/notification/nexmo.rb', line 28 attribute :msg |
#src ⇒ Integer
Returns Nexmo Number to send from.
20 |
# File 'lib/ansible/ruby/modules/generated/notification/nexmo.rb', line 20 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.
32 |
# File 'lib/ansible/ruby/modules/generated/notification/nexmo.rb', line 32 attribute :validate_certs |