Class: DuckRecord::Reflection::AssociationReflection::JoinKeys

Inherits:
Struct
  • Object
show all
Defined in:
lib/duck_record/reflection.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Attribute Details

#foreign_keyObject

Returns the value of attribute foreign_key

Returns:

  • (Object)

    the current value of foreign_key



345
346
347
# File 'lib/duck_record/reflection.rb', line 345

def foreign_key
  @foreign_key
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



345
346
347
# File 'lib/duck_record/reflection.rb', line 345

def key
  @key
end