lib/nylas/contact.rb in nylas-5.0.0 vs lib/nylas/contact.rb in nylas-5.1.0
- old
+ new
@@ -11,12 +11,12 @@
self.showable = true
self.filterable = true
self.updatable = true
self.destroyable = true
- attribute :id, :string, exclude_when: %i[creating updating]
+ attribute :id, :string, read_only: true
attribute :object, :string, default: "contact"
- attribute :account_id, :string, exclude_when: %i[creating updating]
+ attribute :account_id, :string, read_only: true
attribute :given_name, :string
attribute :middle_name, :string
attribute :picture_url, :string
attribute :surname, :string