class Chronicle::ETL::Models::Generic
Constants
- TYPE
Attributes
properties[RW]
Public Class Methods
new(properties = {})
click to toggle source
Calls superclass method
Chronicle::ETL::Models::Base::new
# File lib/chronicle/etl/models/generic.rb, line 11 def initialize(properties = {}) @properties = properties super end
Public Instance Methods
attributes()
click to toggle source
Generic
models have arbitrary attributes stored in @properties
# File lib/chronicle/etl/models/generic.rb, line 17 def attributes @properties.transform_keys(&:to_sym) end