Class: AcceptsNestedIds::NestedIdAssociation

Inherits:
Struct
  • Object
show all
Defined in:
lib/accepts_nested_ids/nested_id_association.rb

Overview

Simple object that contains information about a nested ID association

Instance Attribute Summary collapse

Instance Attribute Details

#attrObject

Returns the value of attribute attr

Returns:

  • (Object)

    the current value of attr



8
9
10
# File 'lib/accepts_nested_ids/nested_id_association.rb', line 8

def attr
  @attr
end

#class_nameObject

Returns the value of attribute class_name

Returns:

  • (Object)

    the current value of class_name



8
9
10
# File 'lib/accepts_nested_ids/nested_id_association.rb', line 8

def class_name
  @class_name
end

#ids_attrObject

Returns the value of attribute ids_attr

Returns:

  • (Object)

    the current value of ids_attr



8
9
10
# File 'lib/accepts_nested_ids/nested_id_association.rb', line 8

def ids_attr
  @ids_attr
end