Class Topsy::Target
In: lib/rtopsy/target.rb
Parent: Object

Methods

new   to_s  

Attributes

topsy_trackback_url  [RW] 
trackback_total  [RW] 
url  [RW] 

Public Class methods

[Source]

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

Public Instance methods

[Source]

# File lib/rtopsy/target.rb, line 16
    def to_s
      "Topsy Target: #{url}"
    end

[Validate]