Class: GOBL::CBC::Source
- Defined in:
- lib/generated/gobl/cbc/source.rb
Overview
Source is used to identify a specific source of data.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Source structure
'https://gobl.org/draft-0/cbc/source'
Instance Attribute Summary collapse
-
#at ⇒ GOBL::Cal::DateTime
readonly
At is the date and time the information was retrieved.
-
#content_type ⇒ String
readonly
ContentType of the information expected at the URL.
-
#title ⇒ GOBL::I18n::String
readonly
Title stores the name of the source of information.
-
#url ⇒ String
readonly
URL is the location of the source of information.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#at ⇒ GOBL::Cal::DateTime (readonly)
At is the date and time the information was retrieved.
34 |
# File 'lib/generated/gobl/cbc/source.rb', line 34 property :at, GOBL::Cal::DateTime |
#content_type ⇒ String (readonly)
ContentType of the information expected at the URL.
29 |
# File 'lib/generated/gobl/cbc/source.rb', line 29 property :content_type, String |
#title ⇒ GOBL::I18n::String (readonly)
Title stores the name of the source of information.
18 |
# File 'lib/generated/gobl/cbc/source.rb', line 18 property :title, GOBL::I18n::String |
#url ⇒ String (readonly)
URL is the location of the source of information.
23 |
# File 'lib/generated/gobl/cbc/source.rb', line 23 property :url, String |