Class: Ansible::Ruby::Modules::Twilio

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#account_sidString

Returns user’s Twilio account token found on the account page.

Returns:

  • (String)

    user’s Twilio account token found on the account page



10
# File 'lib/ansible/ruby/modules/generated/extras/notification/twilio.rb', line 10

attribute :account_sid

#auth_tokenString

Returns user’s Twilio authentication token.

Returns:

  • (String)

    user’s Twilio authentication token



14
# File 'lib/ansible/ruby/modules/generated/extras/notification/twilio.rb', line 14

attribute :auth_token

#from_numberString

Returns the Twilio number to send the text message from, format +15551112222.

Returns:

  • (String)

    the Twilio number to send the text message from, format +15551112222



26
# File 'lib/ansible/ruby/modules/generated/extras/notification/twilio.rb', line 26

attribute :from_number

#media_urlString?

Returns a URL with a picture, video or sound clip to send with an MMS (multimedia message) instead of a plain SMS.

Returns:

  • (String, nil)

    a URL with a picture, video or sound clip to send with an MMS (multimedia message) instead of a plain SMS



30
# File 'lib/ansible/ruby/modules/generated/extras/notification/twilio.rb', line 30

attribute :media_url

#msgString

Returns the body of the text message.

Returns:

  • (String)

    the body of the text message



18
# File 'lib/ansible/ruby/modules/generated/extras/notification/twilio.rb', line 18

attribute :msg

#to_numberString, ...

Returns one or more phone numbers to send the text message to, format +15551112222.

Returns:

  • (String, Array<Integer>, Integer)

    one or more phone numbers to send the text message to, format +15551112222



22
# File 'lib/ansible/ruby/modules/generated/extras/notification/twilio.rb', line 22

attribute :to_number