Class: RejectCallAction

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

Overview

Category: Phone

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

Constructor Details

#initialize(h = {}) ⇒ RejectCallAction

Returns a new instance of RejectCallAction.



1688
1689
1690
1691
1692
1693
1694
1695
# File 'lib/ruby-macrodroid/actions.rb', line 1688

def initialize(h={})

  options = {
  }

  super(options.merge h)

end

Instance Method Details

#to_s(colour: false) ⇒ Object



1697
1698
1699
1700
# File 'lib/ruby-macrodroid/actions.rb', line 1697

def to_s(colour: false)
  @s = 'Call Reject' + "\n  "
  super()
end