Class: Notion::Messages::Message
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- Notion::Messages::Message
- Defined in:
- lib/notion/messages/message.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
5 6 7 8 9 |
# File 'lib/notion/messages/message.rb', line 5 def to_s keys.sort_by(&:to_s).map do |key| "#{key}=#{self[key]}" end.join(', ') end |