Method: NotionRubyMapping::NumberProperty#update_property_schema_json
- Defined in:
- lib/notion_ruby_mapping/properties/number_property.rb
#update_property_schema_json ⇒ Hash
75 76 77 78 79 80 81 82 83 |
# File 'lib/notion_ruby_mapping/properties/number_property.rb', line 75 def update_property_schema_json assert_database_or_data_source_property __method__ ans = super return ans if ans != {} || !@will_update ans[@name] ||= {} ans[@name]["number"] = @json ans end |