Sha256: d7d69a6b1d698bb3cb9fcf3295b8685eca6ba38750551b54a0347d74a4a8c5c5

Contents?: true

Size: 290 Bytes

Versions: 5

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Instagram < Base
    def id
      :instagram
    end

    def name
      "Instagram"
    end

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

    def match?
      ua.include?("Instagram")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
browser-6.1.0 lib/browser/instagram.rb
browser-6.0.0 lib/browser/instagram.rb
browser-5.3.1 lib/browser/instagram.rb
browser-5.3.0 lib/browser/instagram.rb
browser-5.2.0 lib/browser/instagram.rb