<aside> đ Links (Object base class)
Notion Ruby Mapping Public API Reference
</aside>
<aside> âšī¸ â Table of Contents
</aside>
fo = FileObject.file_object "file_url"
=> #<NotionRubyMapping::FileObject:0x0000000107af8220 @type="external", @url="file_url", @will_update=false>
fo2 = FileObject.file_object fo
=> #<NotionRubyMapping::FileObject:0x0000000107af8220 @type="external", @url="file_url", @will_update=false>
# fo and fo2 are equal object.
url=
sets str
to url, and set will_update
flag to true.
fo.url = "another file_url"
=> "another file_url"
fo
=> #<NotionRubyMapping::FileObject:0x0000000107af8220 @name="another file_url", @type="external", @url="another file_url", @will_update=true>