Sha256: 48dbcb8ae448868543b7527bf1f5479b4356f263e0959f7e3afc9c634089ddf5
Contents?: true
Size: 1.12 KB
Versions: 3
Compression:
Stored size: 1.12 KB
Contents
require "tipsanity_merchant_extractor/version" require 'open-uri' require 'nori' require 'nokogiri' module TipsanityMerchantExtractor autoload :UrlFormatter, 'tipsanity_merchant_extractor/url_formatter' autoload :AttributeExtractor, 'tipsanity_merchant_extractor/attribute_extractor' autoload :Amazon, 'tipsanity_merchant_extractor/amazon' autoload :RegisteredMerchantList, 'tipsanity_merchant_extractor/registered_merchant_list' autoload :LinkShare, 'tipsanity_merchant_extractor/linkshare' autoload :Cj, 'tipsanity_merchant_extractor/cj' autoload :Rakuten, 'tipsanity_merchant_extractor/rakuten' autoload :BestBuy, 'tipsanity_merchant_extractor/best_buy' autoload :OneEightThousandLighting, 'tipsanity_merchant_extractor/1800lighting' autoload :TigerDirect, 'tipsanity_merchant_extractor/tiger_direct' end class Array def extract_options! if last.is_a?(::Hash)# && last.extractable_options? pop else {} end end def extractable_options? instance_of?(Hash) end end
Version data entries
3 entries across 3 versions & 1 rubygems