Module: FourchanUrler

Defined in:
lib/fourchan-urler.rb

Defined Under Namespace

Classes: Request

Class Method Summary collapse

Class Method Details

.boards_listObject



26
27
28
# File 'lib/fourchan-urler.rb', line 26

def self.boards_list
  ["a", "b", "c", "d", "e", "f", "g", "gif", "h", "hr", "k", "m", "o", "p", "r", "s", "t", "u", "v", "vg", "vr", "w", "wg", "i", "ic", "r", "k", "s", "s", "cm", "hm", "lgbt", "y", "adv", "an", "asp", "biz", "cgl", "ck", "co", "diy", "fa", "fit", "gd", "hc", "int", "jp", "lit", "mlp", "mu", "n", "out", "po", "pol", "sci", "soc", "sp", "tg", "toy", "trv", "tv", "vp", "wsg", "x"]
end

.request(url) ⇒ Object



22
23
24
# File 'lib/fourchan-urler.rb', line 22

def self.request(url)
  self::Request.new(url)
end