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