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



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

def pages
  @pages
end

#suggestionObject

Returns the value of attribute suggestion

Returns:

  • (Object)

    the current value of suggestion



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

def suggestion
  @suggestion
end

#totalObject

Returns the value of attribute total

Returns:

  • (Object)

    the current value of total



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

def total
  @total
end