<aside> 👉 Links (Controller base class)

DiscussionThread

NotionCache

PropertyCache

Query

RichTextArray

Notion Ruby Mapping Public API Reference

</aside>

<aside> ℹī¸ ↑ Table of Contents

</aside>

1. Instance methods

self[property_name] → AnyProperty

self[key] returns AnyProperty object corresponded to property_name.

page.properties["Number"]
# => #<NotionRubyMapping::NumberPorperty:...> # retrieved NumberProperty

↑ Table of Contents

values_at(*property_names) → Array

values_at returns Array of AnyProperties corresponded to property_names.

page.properties.values_at "Title", "Number"
# => [#<NotionRubyMapping::TitlePorperty:...>, #<NotionRubyMapping::NumberPorperty:...>] # retrieved properties

↑ Table of Contents