Class: IronAdmin::NestedAssociation
- Inherits:
-
Struct
- Object
- Struct
- IronAdmin::NestedAssociation
- Defined in:
- lib/iron_admin/nested_association.rb
Overview
Value object representing a nested association configured for inline editing.
Wraps the resolved configuration from the Resource DSL (has_many/has_one with nested: true) into a structured object used by the NestedFormComponent and strong parameter builder.
Instance Attribute Summary collapse
-
#allow_destroy ⇒ Object
Returns the value of attribute allow_destroy.
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#name ⇒ Object
Returns the value of attribute name.
-
#position_field ⇒ Object
Returns the value of attribute position_field.
-
#reflection ⇒ Object
Returns the value of attribute reflection.
Instance Attribute Details
#allow_destroy ⇒ Object
Returns the value of attribute allow_destroy
10 11 12 |
# File 'lib/iron_admin/nested_association.rb', line 10 def allow_destroy @allow_destroy end |
#fields ⇒ Object
Returns the value of attribute fields
10 11 12 |
# File 'lib/iron_admin/nested_association.rb', line 10 def fields @fields end |
#kind ⇒ Object
Returns the value of attribute kind
10 11 12 |
# File 'lib/iron_admin/nested_association.rb', line 10 def kind @kind end |
#name ⇒ Object
Returns the value of attribute name
10 11 12 |
# File 'lib/iron_admin/nested_association.rb', line 10 def name @name end |
#position_field ⇒ Object
Returns the value of attribute position_field
10 11 12 |
# File 'lib/iron_admin/nested_association.rb', line 10 def position_field @position_field end |
#reflection ⇒ Object
Returns the value of attribute reflection
10 11 12 |
# File 'lib/iron_admin/nested_association.rb', line 10 def reflection @reflection end |