Class: SiriConfirmationOptions
- Inherits:
-
SiriObject
- Object
- SiriObject
- SiriConfirmationOptions
- Defined in:
- lib/siri_objects.rb
Instance Attribute Summary
Attributes inherited from SiriObject
Instance Method Summary collapse
-
#initialize(submitCommands = [], cancelCommands = [], denyCommands = [], confirmCommands = [], denyText = "Cancel", cancelLabel = "Cancel", submitLabel = "Send", confirmText = "Send", cancelTrigger = "Deny") ⇒ SiriConfirmationOptions
constructor
A new instance of SiriConfirmationOptions.
Methods inherited from SiriObject
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 |