Class: AdwordsApi::V200909::GeoLocationService::GeoLocation

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords_api/v200909/GeoLocationService.rb

Overview

GeoLocation

  • geoPoint - AdwordsApi::V200909::GeoLocationService::GeoPoint

  • address - AdwordsApi::V200909::GeoLocationService::Address

  • encodedLocation - SOAP::SOAPBase64

  • geoLocation_Type - SOAP::SOAPString

Direct Known Subclasses

InvalidGeoLocation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(geoPoint = nil, address = nil, encodedLocation = nil, geoLocation_Type = nil) ⇒ GeoLocation

Returns a new instance of GeoLocation.



115
116
117
118
119
120
# File 'lib/adwords_api/v200909/GeoLocationService.rb', line 115

def initialize(geoPoint = nil, address = nil, encodedLocation = nil, geoLocation_Type = nil)
  @geoPoint = geoPoint
  @address = address
  @encodedLocation = encodedLocation
  @geoLocation_Type = geoLocation_Type
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



111
112
113
# File 'lib/adwords_api/v200909/GeoLocationService.rb', line 111

def address
  @address
end

#encodedLocationObject

Returns the value of attribute encodedLocation.



112
113
114
# File 'lib/adwords_api/v200909/GeoLocationService.rb', line 112

def encodedLocation
  @encodedLocation
end

#geoLocation_TypeObject

Returns the value of attribute geoLocation_Type.



113
114
115
# File 'lib/adwords_api/v200909/GeoLocationService.rb', line 113

def geoLocation_Type
  @geoLocation_Type
end

#geoPointObject

Returns the value of attribute geoPoint.



110
111
112
# File 'lib/adwords_api/v200909/GeoLocationService.rb', line 110

def geoPoint
  @geoPoint
end