class SendEmailAction
Category: Messaging
Public Class Methods
new(h={})
click to toggle source
Calls superclass method
MessagingAction::new
# File lib/ruby-macrodroid/actions.rb, line 2324 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
Public Instance Methods
to_s(colour: false, indent: 0)
click to toggle source
Calls superclass method
MacroObject#to_s
# File lib/ruby-macrodroid/actions.rb, line 2340 def to_s(colour: false, indent: 0) recipient = @h[:email_address] @s = 'Send EmailAction' + "\nTo: " + recipient #+ ' ' + @h.inspect super() end
Also aliased as: to_summary