Class: Google::Geocoding::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/google/geocoding.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(long_name, short_name, types) ⇒ Address

Returns a new instance of Address.



66
67
68
69
70
# File 'lib/google/geocoding.rb', line 66

def initialize(long_name, short_name, types)
  @long_name = long_name
  @short_name = short_name
  @types = types
end

Instance Attribute Details

#long_nameObject (readonly)

Returns the value of attribute long_name.



64
65
66
# File 'lib/google/geocoding.rb', line 64

def long_name
  @long_name
end

#short_nameObject (readonly)

Returns the value of attribute short_name.



64
65
66
# File 'lib/google/geocoding.rb', line 64

def short_name
  @short_name
end

#typesObject (readonly)

Returns the value of attribute types.



64
65
66
# File 'lib/google/geocoding.rb', line 64

def types
  @types
end