<aside> đ Links (Object base class)
Notion Ruby Mapping Public API Reference
</aside>
<aside> âšī¸ â Table of Contents
</aside>
uo = UserObject.user_object "a_user_id"
=> #<NotionRubyMapping::UserObject:0x000000010465e348 @json={}, @user_id="a_user_id", @will_update=false>
uo2 = UserObject.text_object uo
=> #<NotionRubyMapping::UserObject:0x000000010465e348 @json={}, @user_id="a_user_id", @will_update=false>
# to and to2 are equal objects.
user_id=
sets str
to user_id, and set will_update
flag to true.
uo = UserObject.user_object "a_user_id"
=> #<NotionRubyMapping::UserObject:0x000000010465e348 @json={}, @user_id="a_user_id", @will_update=false>
uo.user_id = "new_user_id"
=> "new_user_id"
uo
=> #<NotionRubyMapping::UserObject:0x000000010465e348 @json={}, @user_id="new_user_id", @will_update=true>