Sha256: af294b929e84fd62bb68d849b83fba1c008487001e6b214f69837b8ac6d2b830

Contents?: true

Size: 672 Bytes

Versions: 4

Compression:

Stored size: 672 Bytes

Contents

module TD::Types
  # Describes an address.
  #
  # @attr country_code [String] A two-letter ISO 3166-1 alpha-2 country code.
  # @attr state [String] State, if applicable.
  # @attr city [String] City.
  # @attr street_line1 [String] First line of the address.
  # @attr street_line2 [String] Second line of the address.
  # @attr postal_code [String] Address postal code.
  class Address < Base
    attribute :country_code, TD::Types::String
    attribute :state, TD::Types::String
    attribute :city, TD::Types::String
    attribute :street_line1, TD::Types::String
    attribute :street_line2, TD::Types::String
    attribute :postal_code, TD::Types::String
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/address.rb
tdlib-ruby-2.2.0 lib/tdlib/types/address.rb
tdlib-ruby-2.1.0 lib/tdlib/types/address.rb
tdlib-ruby-2.0.0 lib/tdlib/types/address.rb