Class: SiriMapItem
- Inherits:
-
SiriObject
- Object
- SiriObject
- SiriMapItem
- Defined in:
- lib/siri_objects.rb
Overview
Items
Instance Attribute Summary
Attributes inherited from SiriObject
Instance Method Summary collapse
-
#initialize(label = "Apple Headquarters", location = SiriLocation.new, detailType = "BUSINESS_ITEM") ⇒ SiriMapItem
constructor
A new instance of SiriMapItem.
Methods inherited from SiriObject
Constructor Details
#initialize(label = "Apple Headquarters", location = SiriLocation.new, detailType = "BUSINESS_ITEM") ⇒ SiriMapItem
Returns a new instance of SiriMapItem.
152 153 154 155 156 157 |
# File 'lib/siri_objects.rb', line 152 def initialize(label="Apple Headquarters", location=SiriLocation.new, detailType="BUSINESS_ITEM") super("MapItem", "com.apple.ace.localsearch") self.label = label self.detailType = detailType self.location = location end |