Class: GoogleCustomSearch::Result

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

Overview

Single search result data.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



11
12
13
# File 'lib/google_cse.rb', line 11

def description
  @description
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



11
12
13
# File 'lib/google_cse.rb', line 11

def title
  @title
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



11
12
13
# File 'lib/google_cse.rb', line 11

def url
  @url
end