Class: YahooSiteExplorer::Result

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_urlObject

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

#titleObject

Returns the value of attribute title.



8
9
10
# File 'lib/yahoo_site_explorer/result.rb', line 8

def title
  @title
end

#urlObject

Returns the value of attribute url.



8
9
10
# File 'lib/yahoo_site_explorer/result.rb', line 8

def url
  @url
end