class WebPageParser::TheInterceptPageParserFactory

Constants

URL_RE

Public Class Methods

can_parse?(options) click to toggle source
# File lib/web-page-parser/parsers/the_intercept_page_parser.rb, line 4
def self.can_parse?(options)
  URL_RE.match(options[:url])
end
create(options = {}) click to toggle source
# File lib/web-page-parser/parsers/the_intercept_page_parser.rb, line 8
def self.create(options = {})
  TheInterceptPageParserV1.new(options)
end