lib/nylas/email_address.rb in nylas-4.0.0.rc2 vs lib/nylas/email_address.rb in nylas-4.0.0.rc3
- old
+ new
@@ -3,12 +3,8 @@
# @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
+ attribute :name, :string
end
end