Class: SendEmailAction

Inherits:
MessagingAction show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Messaging

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ SendEmailAction

Returns a new instance of SendEmailAction.



3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
# File 'lib/ruby-macrodroid.rb', line 3492

def initialize(h={})

  options = {
    subject: '',
    body: '',
    email_address: '',
    from_email_address: '',
    attach_user_log: false,
    attach_log: false,
    send_option: 0
  }

  super(options.merge h)

end