Class: SiriLocation
- Inherits:
-
SiriObject
- Object
- SiriObject
- SiriLocation
- Defined in:
- lib/siri_objects.rb
Overview
Objects
Instance Attribute Summary
Attributes inherited from SiriObject
Instance Method Summary collapse
-
#initialize(label = "Apple", street = "1 Infinite Loop", city = "Cupertino", stateCode = "CA", countryCode = "US", postalCode = "95014", latitude = 37.3317031860352, longitude = -122.030089795589)) ⇒ SiriLocation
constructor
A new instance of SiriLocation.
Methods inherited from SiriObject
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 |