Sha256: de11ba8db89450c2a0134c2c769d0b314c33530d29076412c66f14fc29e4901d

Contents?: true

Size: 571 Bytes

Versions: 1

Compression:

Stored size: 571 Bytes

Contents

module Nylas
  # Structure to represent the Physical Address schema
  # @see https://docs.nylas.com/reference#contactsid
  class PhysicalAddress
    include Model::Attributable
    attribute :format, :string
    attribute :type, :string
    attribute :street_address, :string
    attribute :postal_code, :string
    attribute :state, :string
    attribute :city, :string
    attribute :country, :string
  end

  # Serializes, Deserializes between {PhysicalAddress} objects and a {Hash}
  class PhysicalAddressType < Types::HashType
    casts_to PhysicalAddress
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nylas-4.0.0.rc2 lib/nylas/physical_address.rb