Class: ActiveRecordWhereAssoc::ActiveRecordCompat::JoinKeys

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_record_where_assoc/active_record_compat.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#foreign_keyObject

Returns the value of attribute foreign_key

Returns:

  • (Object)

    the current value of foreign_key



20
21
22
# File 'lib/active_record_where_assoc/active_record_compat.rb', line 20

def foreign_key
  @foreign_key
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



20
21
22
# File 'lib/active_record_where_assoc/active_record_compat.rb', line 20

def key
  @key
end