Class: GoogleCustomSearch::ResultSet

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

Overview

Quick Struct-based class to hold a collection of search result data.

Instance Attribute Summary collapse

Instance Attribute Details

#pagesObject

Returns the value of attribute pages

Returns:

  • (Object)

    the current value of pages



10
11
12
# File 'lib/google_custom_search.rb', line 10

def pages
  @pages
end

#suggestionObject

Returns the value of attribute suggestion

Returns:

  • (Object)

    the current value of suggestion



10
11
12
# File 'lib/google_custom_search.rb', line 10

def suggestion
  @suggestion
end

#totalObject

Returns the value of attribute total

Returns:

  • (Object)

    the current value of total



10
11
12
# File 'lib/google_custom_search.rb', line 10

def total
  @total
end