Class Topsy::LinkSearchResult
In: lib/rtopsy/link_search_result.rb
Parent: Object

Methods

new   to_s  

Attributes

content  [RW] 
highlight  [RW] 
hits  [RW] 
score  [RW] 
title  [RW] 
topsy_trackback_url  [RW] 
trackback_permalink  [RW] 
trackback_total  [RW] 
url  [RW] 

Public Class methods

[Source]

# File lib/rtopsy/link_search_result.rb, line 26
    def initialize(hash)
      hash.each do |key, value|
        instance_variable_set("@#{key}", value)
      end
    end

Public Instance methods

[Source]

# File lib/rtopsy/link_search_result.rb, line 22
    def to_s
      "Topsy LinkSearchResult: #{url}, @#{title}, hits: #{hits}"
    end

[Validate]