HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
📌
hkob's Notion
/
NotionRubyMapping idea note
NotionRubyMapping idea note
/
Notion Ruby Mapping Public API Reference
Notion Ruby Mapping Public API Reference
/
🎛️
PropertyCache
🎛️

PropertyCache

👉
Links (Controller base class)
🎛️
DiscussionThread
🎛️
NotionCache
🎛️
PropertyCache
🎛️
Query
🎛️
RichTextArray
Notion Ruby Mapping Public API Reference
Notion Ruby Mapping Public API Reference
ℹ️
↑ Table of Contents
1. Instance methodsself[property_name] → AnyPropertyvalues_at(*property_names) → Array

1. Instance methods

self[property_name] → AnyProperty

  • [PARAM] property_name property name that you want to retrieve (String)
self[key] returns AnyProperty object corresponded to property_name.
page.properties["Number"] # => #<NotionRubyMapping::NumberPorperty:...> # retrieved NumberProperty
ℹ️
↑ Table of Contents

values_at(*property_names) → Array

  • [PARAM] property_names Array of property_names
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