Sha256: ce018235a4e5ca5702e3e10415ef4c6374267b1d1cf3f0e9b10681919f6e8257
Contents?: true
Size: 365 Bytes
Versions: 4
Compression:
Stored size: 365 Bytes
Contents
class IdsPlease class Hi5 < IdsPlease::BaseParser MASK = /hi5/i class << self private def parse_link(link) query = CGI.parse(link.query) if link.query && !link.query.empty? if query && !query['uid'].empty? query['uid'].first else link.path.split('/')[1] end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ids_please-1.1.4 | lib/ids_please/hi5.rb |
ids_please-1.1.3 | lib/ids_please/hi5.rb |
ids_please-1.1.2 | lib/ids_please/hi5.rb |
ids_please-1.1.1 | lib/ids_please/hi5.rb |