Sha256: 05943935651589ad7be5cbf7b6db6bf43c656c6751d7ace7b8e172c2bc60a9fe
Contents?: true
Size: 525 Bytes
Versions: 3
Compression:
Stored size: 525 Bytes
Contents
require 'chronicle/etl/models/base' module Chronicle module ETL module Models class Entity < Chronicle::ETL::Models::Base TYPE = 'entities'.freeze ATTRIBUTES = [:title, :body, :represents, :slug, :myself, :metadata].freeze ASSOCIATIONS = [ :attachments, :abouts, :depicts, :consumers, :contains ].freeze # TODO: add these to reflect Chronicle Schema attr_accessor(*ATTRIBUTES, *ASSOCIATIONS) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chronicle-etl-0.4.0 | lib/chronicle/etl/models/entity.rb |
chronicle-etl-0.3.1 | lib/chronicle/etl/models/entity.rb |
chronicle-etl-0.3.0 | lib/chronicle/etl/models/entity.rb |