Class: UploadPhotoAction
- Inherits:
-
CameraAction
- Object
- MacroObject
- Action
- CameraAction
- UploadPhotoAction
- Defined in:
- lib/ruby-macrodroid/actions.rb
Overview
Category: Camera/Photo
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ UploadPhotoAction
constructor
A new instance of UploadPhotoAction.
- #to_s(colour: false, indent: 0) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods included from ObjectX
#action_to_object, #object_create, #varify
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ UploadPhotoAction
Returns a new instance of UploadPhotoAction.
323 324 325 326 327 328 329 330 331 332 |
# File 'lib/ruby-macrodroid/actions.rb', line 323 def initialize(h={}) = { option: 'Via Intent', use_smtp_email: false } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
334 335 336 |
# File 'lib/ruby-macrodroid/actions.rb', line 334 def to_s(colour: false, indent: 0) 'UploadPhotoAction ' + @h.inspect end |