Class: YahooSiteExplorer::Result
- Inherits:
-
Object
- Object
- YahooSiteExplorer::Result
- Defined in:
- lib/yahoo_site_explorer/result.rb
Overview
Wraps each result returned by Yahoo! backlinks (inlink data) and page data requests.
Instance Attribute Summary collapse
-
#click_url ⇒ Object
Returns the value of attribute click_url.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(title, url, click_url) ⇒ Result
constructor
:nodoc:.
Constructor Details
#initialize(title, url, click_url) ⇒ Result
:nodoc:
10 11 12 |
# File 'lib/yahoo_site_explorer/result.rb', line 10 def initialize(title, url, click_url) #:nodoc: @title, @url, @click_url = title, url, click_url end |
Instance Attribute Details
#click_url ⇒ Object
Returns the value of attribute click_url.
8 9 10 |
# File 'lib/yahoo_site_explorer/result.rb', line 8 def click_url @click_url end |
#title ⇒ Object
Returns the value of attribute title.
8 9 10 |
# File 'lib/yahoo_site_explorer/result.rb', line 8 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
8 9 10 |
# File 'lib/yahoo_site_explorer/result.rb', line 8 def url @url end |