Class: WebHookTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ WebHookTrigger

Returns a new instance of WebHookTrigger.



192
193
194
195
# File 'lib/ruby-macrodroid.rb', line 192

def initialize(h={})    
  super({identifier: ''}.merge(h))
  @list << 'identifier'
end

Instance Method Details

#identifierObject



197
198
199
# File 'lib/ruby-macrodroid.rb', line 197

def identifier()
  @h[:identifier]
end

#identifier=(val) ⇒ Object



201
202
203
# File 'lib/ruby-macrodroid.rb', line 201

def identifier=(val)
  @h[:identifier] = val
end