Class: SiriMapItem

Inherits:
SiriObject show all
Defined in:
lib/siri_objects.rb

Overview

Items

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