Class: SiriConfirmationOptions

Inherits:
SiriObject show all
Defined in:
lib/siri_objects.rb

Instance Attribute Summary

Attributes inherited from SiriObject

#group, #klass, #properties

Instance Method Summary collapse

Methods inherited from SiriObject

#make_root, #to_hash

Constructor Details

#initialize(submitCommands = [], cancelCommands = [], denyCommands = [], confirmCommands = [], denyText = "Cancel", cancelLabel = "Cancel", submitLabel = "Send", confirmText = "Send", cancelTrigger = "Deny") ⇒ SiriConfirmationOptions

Returns a new instance of SiriConfirmationOptions.



176
177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/siri_objects.rb', line 176

def initialize(submitCommands=[], cancelCommands=[], denyCommands=[], confirmCommands=[], denyText="Cancel", cancelLabel="Cancel", submitLabel="Send", confirmText="Send", cancelTrigger="Deny")
  super("ConfirmationOptions", "com.apple.ace.assistant")

  self.submitCommands = submitCommands
  self.cancelCommands = cancelCommands
  self.denyCommands = denyCommands
  self.confirmCommands = confirmCommands

  self.denyText = denyText 
  self.cancelLabel = cancelLabel 
  self.submitLabel = submitLabel 
  self.confirmText = confirmText 
  self.cancelTrigger = cancelTrigger 
end