Class: ActiveRecordMerger::AssociationFinder::AssociationInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_record_merger/association_finder.rb

Instance Attribute Summary collapse

Instance Attribute Details

#class_nameObject

Returns the value of attribute class_name

Returns:

  • (Object)

    the current value of class_name



7
8
9
# File 'lib/active_record_merger/association_finder.rb', line 7

def class_name
  @class_name
end

#foreign_keyObject

Returns the value of attribute foreign_key

Returns:

  • (Object)

    the current value of foreign_key



7
8
9
# File 'lib/active_record_merger/association_finder.rb', line 7

def foreign_key
  @foreign_key
end

#foreign_typeObject

Returns the value of attribute foreign_type

Returns:

  • (Object)

    the current value of foreign_type



7
8
9
# File 'lib/active_record_merger/association_finder.rb', line 7

def foreign_type
  @foreign_type
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/active_record_merger/association_finder.rb', line 7

def name
  @name
end

#polymorphicObject

Returns the value of attribute polymorphic

Returns:

  • (Object)

    the current value of polymorphic



7
8
9
# File 'lib/active_record_merger/association_finder.rb', line 7

def polymorphic
  @polymorphic
end

#throughObject

Returns the value of attribute through

Returns:

  • (Object)

    the current value of through



7
8
9
# File 'lib/active_record_merger/association_finder.rb', line 7

def through
  @through
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



7
8
9
# File 'lib/active_record_merger/association_finder.rb', line 7

def type
  @type
end