Sha256: 98150d526bc917d9456f11fad80d2a11e5c1e53e214a2e404b9cf5862100a503

Contents?: true

Size: 285 Bytes

Versions: 78

Compression:

Stored size: 285 Bytes

Contents

class Puppeteer::Device
  # @param name [String]
  # @param user_agent [String]
  # @param viewport [Viewport]
  def initialize(name:, user_agent:, viewport:)
    @name = name
    @user_agent = user_agent
    @viewport = viewport
  end

  attr_reader :name, :user_agent, :viewport
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
puppeteer-ruby-0.40.4 lib/puppeteer/device.rb
puppeteer-ruby-0.40.3 lib/puppeteer/device.rb
puppeteer-ruby-0.40.2 lib/puppeteer/device.rb
puppeteer-ruby-0.40.1 lib/puppeteer/device.rb
puppeteer-ruby-0.40.0 lib/puppeteer/device.rb
puppeteer-ruby-0.39.0 lib/puppeteer/device.rb
puppeteer-ruby-0.38.0 lib/puppeteer/device.rb
puppeteer-ruby-0.37.4 lib/puppeteer/device.rb
puppeteer-ruby-0.37.3 lib/puppeteer/device.rb
puppeteer-ruby-0.37.2 lib/puppeteer/device.rb
puppeteer-ruby-0.37.1 lib/puppeteer/device.rb
puppeteer-ruby-0.37.0 lib/puppeteer/device.rb
puppeteer-ruby-0.36.0 lib/puppeteer/device.rb
puppeteer-ruby-0.35.1 lib/puppeteer/device.rb
puppeteer-ruby-0.35.0 lib/puppeteer/device.rb
puppeteer-ruby-0.34.3 lib/puppeteer/device.rb
puppeteer-ruby-0.34.2 lib/puppeteer/device.rb
puppeteer-ruby-0.34.1 lib/puppeteer/device.rb
puppeteer-ruby-0.34.0 lib/puppeteer/device.rb
puppeteer-ruby-0.33.0 lib/puppeteer/device.rb