Class: Ansible::Ruby::Modules::Sendgrid

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/notification/sendgrid.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

#from_addressString

Returns the address in the “from” field for the email.

Returns:

  • (String)

    the address in the “from” field for the email



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

attribute :from_address

#passwordString

Returns password that corresponds to the username.

Returns:

  • (String)

    password that corresponds to the username



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

attribute :password

#subjectString

Returns the desired subject for the email.

Returns:

  • (String)

    the desired subject for the email



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

attribute :subject

#to_addressesArray<String>, String

Returns a list with one or more recipient email addresses.

Returns:

  • (Array<String>, String)

    a list with one or more recipient email addresses



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

attribute :to_addresses

#usernameString

Returns username for logging into the SendGrid account.

Returns:

  • (String)

    username for logging into the SendGrid account



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

attribute :username