Sha256: abf5bb157479ed80aedbb789798bbbfb1ba3b4f0c89bfecd349c6a34d7da796e

Contents?: true

Size: 283 Bytes

Versions: 10

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Alipay < Base
    def id
      :alipay
    end

    def name
      "Alipay"
    end

    def full_version
      ua[%r{(?:AlipayClient)/([\d.]+)}i, 1] || "0.0"
    end

    def match?
      ua =~ /AlipayClient/i
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
browser-5.1.0 lib/browser/alipay.rb
browser-5.0.0 lib/browser/alipay.rb
browser-4.2.0 lib/browser/alipay.rb
browser-4.1.0 lib/browser/alipay.rb
browser-4.0.0 lib/browser/alipay.rb
browser-3.0.3 lib/browser/alipay.rb
browser-3.0.2 lib/browser/alipay.rb
browser-3.0.1 lib/browser/alipay.rb
browser-3.0.0 lib/browser/alipay.rb
browser-2.7.1 lib/browser/alipay.rb