Class: UploadPhotoAction

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

Overview

Category: Camera/Photo

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 = {}) ⇒ UploadPhotoAction

Returns a new instance of UploadPhotoAction.



2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
# File 'lib/ruby-macrodroid.rb', line 2617

def initialize(h={})

  options = {
    option: 'Via Intent',
    use_smtp_email: false
  }

  super(options.merge h)

end