Class: SiriMapItemSnippet
- Inherits:
-
SiriObject
- Object
- SiriObject
- SiriMapItemSnippet
- Defined in:
- lib/siri_objects.rb
Instance Attribute Summary
Attributes inherited from SiriObject
Instance Method Summary collapse
-
#initialize(userCurrentLocation = true, items = []) ⇒ SiriMapItemSnippet
constructor
A new instance of SiriMapItemSnippet.
Methods inherited from SiriObject
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 |