Class: TD::Types::Address
- Defined in:
- lib/tdlib/types/address.rb
Overview
Describes an address.
Instance Attribute Summary collapse
-
#city ⇒ String
City.
-
#country_code ⇒ String
A two-letter ISO 3166-1 alpha-2 country code.
-
#postal_code ⇒ String
Address postal code.
-
#state ⇒ String
State, if applicable.
-
#street_line1 ⇒ String
First line of the address.
-
#street_line2 ⇒ String
Second line of the address.
Method Summary
Methods inherited from Base
Instance Attribute Details
#city ⇒ String
City.
10 11 12 |
# File 'lib/tdlib/types/address.rb', line 10 def city @city end |
#country_code ⇒ String
A two-letter ISO 3166-1 alpha-2 country code.
10 11 12 |
# File 'lib/tdlib/types/address.rb', line 10 def country_code @country_code end |
#postal_code ⇒ String
Address postal code.
10 11 12 |
# File 'lib/tdlib/types/address.rb', line 10 def postal_code @postal_code end |
#state ⇒ String
State, if applicable.
10 11 12 |
# File 'lib/tdlib/types/address.rb', line 10 def state @state end |
#street_line1 ⇒ String
First line of the address.
10 11 12 |
# File 'lib/tdlib/types/address.rb', line 10 def street_line1 @street_line1 end |
#street_line2 ⇒ String
Second line of the address.
10 11 12 |
# File 'lib/tdlib/types/address.rb', line 10 def street_line2 @street_line2 end |