Class: Ansible::Ruby::Modules::Pushbullet

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

Overview

This module sends push notifications via Pushbullet to channels or devices.

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, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#api_keyString

Returns Push bullet API token.

Returns:

  • (String)

    Push bullet API token



11
# File 'lib/ansible/ruby/modules/generated/extras/notification/pushbullet.rb', line 11

attribute :api_key

#bodyString?

Returns Body of the notification, e.g. Details of the fault you’re alerting.

Returns:

  • (String, nil)

    Body of the notification, e.g. Details of the fault you’re alerting.



31
# File 'lib/ansible/ruby/modules/generated/extras/notification/pushbullet.rb', line 31

attribute :body

#channelString?

Returns The channel TAG you wish to broadcast a push notification, as seen on the “My Channels” > “Edit your channel” at Pushbullet page.

Returns:

  • (String, nil)

    The channel TAG you wish to broadcast a push notification, as seen on the “My Channels” > “Edit your channel” at Pushbullet page.



15
# File 'lib/ansible/ruby/modules/generated/extras/notification/pushbullet.rb', line 15

attribute :channel

#deviceString?

Returns The device NAME you wish to send a push notification, as seen on the Pushbullet main page.

Returns:

  • (String, nil)

    The device NAME you wish to send a push notification, as seen on the Pushbullet main page.



19
# File 'lib/ansible/ruby/modules/generated/extras/notification/pushbullet.rb', line 19

attribute :device

#push_type:note, ...

Returns Thing you wish to push.

Returns:

  • (:note, :link, nil)

    Thing you wish to push.



23
# File 'lib/ansible/ruby/modules/generated/extras/notification/pushbullet.rb', line 23

attribute :push_type

#titleString

Returns Title of the notification.

Returns:

  • (String)

    Title of the notification.



27
# File 'lib/ansible/ruby/modules/generated/extras/notification/pushbullet.rb', line 27

attribute :title