Class: SendEmailAction
- Inherits:
-
MessagingAction
- Object
- MacroObject
- Action
- MessagingAction
- SendEmailAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Messaging
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SendEmailAction
constructor
A new instance of SendEmailAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SendEmailAction
Returns a new instance of SendEmailAction.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 |
# File 'lib/ruby-macrodroid.rb', line 4007 def initialize(h={}) = { subject: '', body: '', email_address: '', from_email_address: '', attach_user_log: false, attach_log: false, send_option: 0 } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
4023 4024 4025 |
# File 'lib/ruby-macrodroid.rb', line 4023 def to_s(colour: false) 'SendEmailAction ' + @h.inspect end |