Class: YahooSiteExplorer::ResultsContainer

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/yahoo_site_explorer/results_container.rb

Overview

:nodoc:

Direct Known Subclasses

Backlinks, PageData

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service, request_options, results_hash = {}) ⇒ ResultsContainer

:nodoc:



12
13
14
15
16
# File 'lib/yahoo_site_explorer/results_container.rb', line 12

def initialize(service, request_options, results_hash = {}) #:nodoc:
  @service          = service
  @request_options  = request_options
  parse_hash(results_hash)
end

Instance Attribute Details

#first_result_positionObject (readonly)

Returns the value of attribute first_result_position.



6
7
8
# File 'lib/yahoo_site_explorer/results_container.rb', line 6

def first_result_position
  @first_result_position
end

#resultsObject (readonly)

Returns the value of attribute results.



6
7
8
# File 'lib/yahoo_site_explorer/results_container.rb', line 6

def results
  @results
end

#total_results_availableObject (readonly)

Returns the value of attribute total_results_available.



6
7
8
# File 'lib/yahoo_site_explorer/results_container.rb', line 6

def total_results_available
  @total_results_available
end

#total_results_returnedObject (readonly)

Returns the value of attribute total_results_returned.



6
7
8
# File 'lib/yahoo_site_explorer/results_container.rb', line 6

def total_results_returned
  @total_results_returned
end