Class: GOBL::Document

Inherits:
Map show all
Extended by:
Extensions::DocumentHelper::ClassMethods
Includes:
Extensions::DocumentHelper
Defined in:
lib/generated/gobl/document.rb

Overview

Contains the document payload to be included inside an Envelope.

The document must contain a ‘$schema` property that identifies the data’s structure otherwise it will be rejected.

Instance Attribute Summary

Attributes inherited from Map

#_map

Method Summary

Methods included from Extensions::DocumentHelper::ClassMethods

embed

Methods included from Extensions::DocumentHelper

#extract, #schema

Methods inherited from Map

#[], #as_json, #each, #each_key, #empty?, #initialize, #length, #values

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Constructor Details

This class inherits a constructor from GOBL::Map