Sha256: d5474ff8859984dd4e6f4a4f88f23c2371a10b7e6f118c5451abc0265f772c79

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

# coding: utf-8

require "megalopolis"

$LOAD_PATH.unshift(File.expand_path("../", __FILE__))
require "sosowa/version"

module Sosowa
  BASE_URL = "http://coolier.sytes.net/sosowa/ssw_l/"
  
  def self.get(args={})
    args[:log] ||= 0
    megalopolis = Megalopolis.new(BASE_URL)
    megalopolis.get args
  end
  
  #def self.search(query, args={})
  #  parser = Parser.new
  #  parser.search(query, args)
  #end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sosowa-3.0.1 lib/sosowa.rb
sosowa-3.0 lib/sosowa.rb