Class: YahooSiteExplorer::ResultsContainer
- Inherits:
-
Object
- Object
- YahooSiteExplorer::ResultsContainer
- Includes:
- Enumerable
- Defined in:
- lib/yahoo_site_explorer/results_container.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#first_result_position ⇒ Object
readonly
Returns the value of attribute first_result_position.
-
#results ⇒ Object
readonly
Returns the value of attribute results.
-
#total_results_available ⇒ Object
readonly
Returns the value of attribute total_results_available.
-
#total_results_returned ⇒ Object
readonly
Returns the value of attribute total_results_returned.
Instance Method Summary collapse
-
#initialize(service, request_options, results_hash = {}) ⇒ ResultsContainer
constructor
:nodoc:.
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, , results_hash = {}) #:nodoc: @service = service @request_options = parse_hash(results_hash) end |
Instance Attribute Details
#first_result_position ⇒ Object (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 |
#results ⇒ Object (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_available ⇒ Object (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_returned ⇒ Object (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 |