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

Constructor Details

#initialize(h = {}) ⇒ UploadPhotoAction

Returns a new instance of UploadPhotoAction.



1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
# File 'lib/ruby-macrodroid.rb', line 1996

def initialize(h={})

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

  super(options.merge h)

end