Class: UploadPhotoAction
- Inherits:
-
CameraAction
- Object
- MacroObject
- Action
- CameraAction
- UploadPhotoAction
- Defined in:
- lib/ruby-macrodroid.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) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ UploadPhotoAction
Returns a new instance of UploadPhotoAction.
2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 |
# File 'lib/ruby-macrodroid.rb', line 2947 def initialize(h={}) = { option: 'Via Intent', use_smtp_email: false } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
2958 2959 2960 |
# File 'lib/ruby-macrodroid.rb', line 2958 def to_s(colour: false) 'UploadPhotoAction ' + @h.inspect end |