Class: SiriLocation

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

Overview

Objects

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", street = "1 Infinite Loop", city = "Cupertino", stateCode = "CA", countryCode = "US", postalCode = "95014", latitude = 37.3317031860352, longitude = -122.030089795589)) ⇒ SiriLocation

Returns a new instance of SiriLocation.



222
223
224
225
226
227
228
229
230
231
232
# File 'lib/siri_objects.rb', line 222

def initialize(label="Apple", street="1 Infinite Loop", city="Cupertino", stateCode="CA", countryCode="US", postalCode="95014", latitude=37.3317031860352, longitude=-122.030089795589)
  super("Location", "com.apple.ace.system")
  self.label = label
  self.street = street
  self.city = city
  self.stateCode = stateCode
  self.countryCode = countryCode
  self.postalCode = postalCode
  self.latitude = latitude
  self.longitude = longitude
end