Class Topsy::Author
In: lib/rtopsy/author.rb
Parent: Object

Methods

new   to_s  

Attributes

description  [RW] 
hits  [RW] 
influence_level  [RW] 
name  [RW] 
nick  [RW] 
topsy_author_url  [RW] 
type  [RW] 
url  [RW] 

Public Class methods

[Source]

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

Public Instance methods

[Source]

# File lib/rtopsy/author.rb, line 20
    def to_s
      "Topsy Author: #{name}, @#{nick}, #{topsy_author_url}"
    end

[Validate]