Sha256: d1f9248a79773ed7c6cab0678b03848d91345589c38397e63adfeaf38db5f281

Contents?: true

Size: 283 Bytes

Versions: 10

Compression:

Stored size: 283 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 =~ /Instagram/
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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