class UploadPhotoAction

Category: Camera/Photo

Public Class Methods

new(h={}) click to toggle source
Calls superclass method CameraAction::new
# File lib/ruby-macrodroid/actions.rb, line 328
def initialize(h={})

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

  super(options.merge h)

end

Public Instance Methods

to_s(colour: false, indent: 0) click to toggle source
# File lib/ruby-macrodroid/actions.rb, line 339
def to_s(colour: false, indent: 0)
  'UploadPhotoAction ' + @h.inspect
end
Also aliased as: to_summary
to_summary(colour: false, indent: 0)
Alias for: to_s