Class: SiriMapItemSnippet

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(userCurrentLocation = true, items = []) ⇒ SiriMapItemSnippet

Returns a new instance of SiriMapItemSnippet.



113
114
115
116
117
# File 'lib/siri_objects.rb', line 113

def initialize(userCurrentLocation=true, items=[])
  super("MapItemSnippet", "com.apple.ace.localsearch")
  self.userCurrentLocation = userCurrentLocation
  self.items = items
end