Class: Search::Document

Inherits:
Struct
  • Object
show all
Defined in:
lib/shoes/search.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body


7
8
9
# File 'lib/shoes/search.rb', line 7

def body
  @body
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id


7
8
9
# File 'lib/shoes/search.rb', line 7

def id
  @id
end

#uriObject

Returns the value of attribute uri

Returns:

  • (Object)

    the current value of uri


7
8
9
# File 'lib/shoes/search.rb', line 7

def uri
  @uri
end