Sha256: bbe961df7f27c1b481adfc9ae837ac9ca40c458eba2bf53286f35b05f8d0edc4

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

module Nylas
  # Structure to represent the Email Address Schema
  # @see https://docs.nylas.com/reference#contactsid
  class EmailAddress
    include Model::Attributable
    attribute :type, :string
    attribute :email, :string
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

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