Sha256: cfccd2a6d855169e5f0054952cc6c66a5f04c1e4a04197a02d537244c1f6806e

Contents?: true

Size: 283 Bytes

Versions: 8

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

8 entries across 8 versions & 1 rubygems

Version Path
browser-2.7.0 lib/browser/alipay.rb
browser-2.6.1 lib/browser/alipay.rb
browser-2.6.0 lib/browser/alipay.rb
browser-2.5.3 lib/browser/alipay.rb
browser-2.5.2 lib/browser/alipay.rb
browser-2.5.1 lib/browser/alipay.rb
browser-2.5.0 lib/browser/alipay.rb
browser-2.4.0 lib/browser/alipay.rb