Class: ApiBlocks::Blueprinter::JoinKeys::JoinKeys

Inherits:
Struct
  • Object
show all
Defined in:
lib/api_blocks/blueprinter/join_keys.rb

Instance Attribute Summary collapse

Instance Attribute Details

#foreign_keyObject

Returns the value of attribute foreign_key

Returns:

  • (Object)

    the current value of foreign_key



10
11
12
# File 'lib/api_blocks/blueprinter/join_keys.rb', line 10

def foreign_key
  @foreign_key
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



10
11
12
# File 'lib/api_blocks/blueprinter/join_keys.rb', line 10

def key
  @key
end