Class: SimpleRecommender::Recommendable::AssociationMetadata

Inherits:
Struct
  • Object
show all
Defined in:
lib/simple_recommender/recommendable.rb

Instance Attribute Summary collapse

Instance Attribute Details

#association_foreign_keyObject

Returns the value of attribute association_foreign_key

Returns:

  • (Object)

    the current value of association_foreign_key



6
7
8
# File 'lib/simple_recommender/recommendable.rb', line 6

def association_foreign_key
  @association_foreign_key
end

#foreign_keyObject

Returns the value of attribute foreign_key

Returns:

  • (Object)

    the current value of foreign_key



6
7
8
# File 'lib/simple_recommender/recommendable.rb', line 6

def foreign_key
  @foreign_key
end

#join_tableObject

Returns the value of attribute join_table

Returns:

  • (Object)

    the current value of join_table



6
7
8
# File 'lib/simple_recommender/recommendable.rb', line 6

def join_table
  @join_table
end