Class: SiriAnswerSnippet
- Inherits:
-
SiriObject
- Object
- SiriObject
- SiriAnswerSnippet
- Defined in:
- lib/siri_objects.rb
Instance Attribute Summary
Attributes inherited from SiriObject
Instance Method Summary collapse
-
#initialize(answers = [], confirmationOptions = nil) ⇒ SiriAnswerSnippet
constructor
A new instance of SiriAnswerSnippet.
Methods inherited from SiriObject
Constructor Details
#initialize(answers = [], confirmationOptions = nil) ⇒ SiriAnswerSnippet
Returns a new instance of SiriAnswerSnippet.
133 134 135 136 137 138 139 140 141 142 |
# File 'lib/siri_objects.rb', line 133 def initialize(answers=[], confirmationOptions=nil) super("Snippet", "com.apple.ace.answer") self.answers = answers if confirmationOptions # need to figure out good way to do API for this self.confirmationOptions = confirmationOptions end end |