Class: OpenWebPageAction

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

Overview

Category: Applications

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

Returns a new instance of OpenWebPageAction.



1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
# File 'lib/ruby-macrodroid.rb', line 1772

def initialize(h={})

  options = {
    variable_to_save_response: {:m_stringValue=>"", :m_name=>"", :m_decimalValue=>0.0, :isLocal=>true, :m_booleanValue=>false, :excludeFromLog=>false, :m_intValue=>0, :m_type=>2},
    url_to_open: '',
    http_get: true,
    disable_url_encode: false,
    block_next_action: false
  }

  super(options.merge h)

end