Class: Pic2ch::Thread::Static

Inherits:
Pic2ch::Thread show all
Defined in:
lib/pic2ch/thread/static.rb

Instance Attribute Summary

Attributes inherited from Pic2ch::Thread

#created, #link, #name, #star

Instance Method Summary collapse

Methods inherited from Pic2ch::Thread

#code, #download, #downloader, #parser, #url

Constructor Details

#initialize(code) ⇒ Static



4
5
6
7
# File 'lib/pic2ch/thread/static.rb', line 4

def initialize(code)
  @code = code.to_i
  @url  = self.class.url + "/thread/#{@code}"
end