Class: Undertow::Registry::ModelConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/undertow/registry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dependenciesObject (readonly)

Returns the value of attribute dependencies.



11
12
13
# File 'lib/undertow/registry.rb', line 11

def dependencies
  @dependencies
end

#model_nameObject (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_drainObject

Returns the value of attribute on_drain.



12
13
14
# File 'lib/undertow/registry.rb', line 12

def on_drain
  @on_drain
end

#skip_columnsObject

Returns the value of attribute skip_columns.



12
13
14
# File 'lib/undertow/registry.rb', line 12

def skip_columns
  @skip_columns
end