Sha256: c49ce7121f817b84e87a225b5ef06bd63ce0fb8e661c0308202cd771368d522d

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true

module PuppeteerEntity
  module Attributes
    class WaitForEvent < Dry::Struct
      transform_keys(&:to_sym)

      attribute :event, Types::Coercible::String
      attribute? :timeout, Types::Coercible::Integer
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puppeteer_entity-0.1.1 lib/puppeteer_entity/attributes/wait_for_event.rb
puppeteer_entity-0.1.0 lib/puppeteer_entity/attributes/wait_for_event.rb