Class: SiriAnswerSnippet

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(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