Class: UploadPhotoAction

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

Overview

Category: Camera/Photo

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ UploadPhotoAction



2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
# File 'lib/ruby-macrodroid.rb', line 2281

def initialize(h={})

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

  super(options.merge h)

end