Class: Google::Geocoding::Address
- Inherits:
-
Object
- Object
- Google::Geocoding::Address
- Defined in:
- lib/google/geocoding.rb
Instance Attribute Summary collapse
-
#long_name ⇒ Object
readonly
Returns the value of attribute long_name.
-
#short_name ⇒ Object
readonly
Returns the value of attribute short_name.
-
#types ⇒ Object
readonly
Returns the value of attribute types.
Instance Method Summary collapse
-
#initialize(long_name, short_name, types) ⇒ Address
constructor
A new instance of Address.
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_name ⇒ Object (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_name ⇒ Object (readonly)
Returns the value of attribute short_name.
64 65 66 |
# File 'lib/google/geocoding.rb', line 64 def short_name @short_name end |
#types ⇒ Object (readonly)
Returns the value of attribute types.
64 65 66 |
# File 'lib/google/geocoding.rb', line 64 def types @types end |