Class Topsy::LinkpostCount
In: lib/rtopsy/linkpost_count.rb
Parent: Object

Methods

new   to_s  

Attributes

all  [RW] 
contains  [RW] 

Public Class methods

[Source]

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

Public Instance methods

[Source]

# File lib/rtopsy/linkpost_count.rb, line 15
    def to_s
      "Topsy LinkpostCount: #{all}"
    end

[Validate]