Class: BridgetownNotion::Parsers::TitleParser
- Inherits:
-
Object
- Object
- BridgetownNotion::Parsers::TitleParser
- Defined in:
- lib/bridgetown_notion/parsers/title_parser.rb
Class Method Summary collapse
Class Method Details
.parse(post) ⇒ Object
6 7 8 |
# File 'lib/bridgetown_notion/parsers/title_parser.rb', line 6 def self.parse(post) post.dig("properties", "title", "title", 0, "text", "content") end |