Method: CDB.show
- Defined in:
- lib/cdb-crawlr.rb
.show(id, type) ⇒ Object
36 37 38 39 40 41 |
# File 'lib/cdb-crawlr.rb', line 36 def show(id, type) data = URI.encode_www_form('ID' => id) url = "#{BASE_URL}/#{type::WEB_PATH}?#{data}" page = read_page(url) type.parse_data(id, page) end |