Class: Undertow::Registry::ModelConfig
- Inherits:
-
Object
- Object
- Undertow::Registry::ModelConfig
- Defined in:
- lib/undertow/registry.rb
Instance Attribute Summary collapse
-
#dependencies ⇒ Object
readonly
Returns the value of attribute dependencies.
-
#model_name ⇒ Object
readonly
Returns the value of attribute model_name.
-
#on_drain ⇒ Object
Returns the value of attribute on_drain.
-
#skip_columns ⇒ Object
Returns the value of attribute skip_columns.
Instance Method Summary collapse
-
#initialize(model_name) ⇒ ModelConfig
constructor
A new instance of ModelConfig.
Constructor Details
#initialize(model_name) ⇒ ModelConfig
Returns a new instance of ModelConfig.
14 15 16 17 18 19 |
# File 'lib/undertow/registry.rb', line 14 def initialize(model_name) @model_name = model_name @dependencies = [] @skip_columns = [] @on_drain = nil end |
Instance Attribute Details
#dependencies ⇒ Object (readonly)
Returns the value of attribute dependencies.
11 12 13 |
# File 'lib/undertow/registry.rb', line 11 def dependencies @dependencies end |
#model_name ⇒ Object (readonly)
Returns the value of attribute model_name.
11 12 13 |
# File 'lib/undertow/registry.rb', line 11 def model_name @model_name end |
#on_drain ⇒ Object
Returns the value of attribute on_drain.
12 13 14 |
# File 'lib/undertow/registry.rb', line 12 def on_drain @on_drain end |
#skip_columns ⇒ Object
Returns the value of attribute skip_columns.
12 13 14 |
# File 'lib/undertow/registry.rb', line 12 def skip_columns @skip_columns end |