Class: Sunspot::NullResult::Hit

Inherits:
Struct
  • Object
show all
Defined in:
lib/sunspot/null_result/hit.rb

Instance Attribute Summary collapse

Instance Attribute Details

#primary_keyObject

Returns the value of attribute primary_key

Returns:

  • (Object)

    the current value of primary_key



4
5
6
# File 'lib/sunspot/null_result/hit.rb', line 4

def primary_key
  @primary_key
end