Class: AnswerCallAction

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

Overview

Category: Phone

Instance Attribute Summary

Attributes inherited from Action

#constraints

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

Returns a new instance of AnswerCallAction.



3625
3626
3627
3628
3629
3630
3631
3632
3633
# File 'lib/ruby-macrodroid.rb', line 3625

def initialize(h={})

  options = {
    selected_index: 0
  }

  super(options.merge h)

end