Class: Ansible::Ruby::Modules::Nexmo

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

Overview

Send a SMS message via nexmo

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

#api_keyString

Returns Nexmo API Key.

Returns:

  • (String)

    Nexmo API Key



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

attribute :api_key

#api_secretString

Returns Nexmo API Secret.

Returns:

  • (String)

    Nexmo API Secret



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

attribute :api_secret

#destArray<Integer>, Integer

Returns Phone number(s) to send SMS message to.

Returns:

  • (Array<Integer>, Integer)

    Phone number(s) to send SMS message to



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

attribute :dest

#msgString

Returns Message to text to send. Messages longer than 160 characters will be split into multiple messages.

Returns:

  • (String)

    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

#srcInteger

Returns Nexmo Number to send from.

Returns:

  • (Integer)

    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.

Returns:

  • (:yes, :no, nil)

    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