Method: NotionRubyMapping::NumberProperty#update_from_json

Defined in:
lib/notion_ruby_mapping/properties/number_property.rb

#update_from_json(json) ⇒ NotionRubyMapping::NumberProperty

Parameters:

  • json (Hash)

Returns:



66
67
68
69
70
# File 'lib/notion_ruby_mapping/properties/number_property.rb', line 66

def update_from_json(json)
  @will_update = false
  @json = json["number"]
  self
end