Class: GOBL::Note::Message

Inherits:
Object show all
Defined in:
lib/generated/gobl/note/message.rb

Overview

Message represents a simple message object with a title and some content meant.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Message structure

'https://gobl.org/draft-0/note/message'

Instance Attribute Summary collapse

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#contentString (readonly)

Details of what exactly this message wants to communicate.

Returns:

  • (String)


24
# File 'lib/generated/gobl/note/message.rb', line 24

property :content, String

#metaGOBL::CBC::Meta (readonly)

Any additional semi-structured data that might be useful.

Returns:



30
# File 'lib/generated/gobl/note/message.rb', line 30

property :meta, GOBL::CBC::Meta

#titleString (readonly)

Summary of the message content

Returns:

  • (String)


19
# File 'lib/generated/gobl/note/message.rb', line 19

property :title, String