Sha256: f98faab951f1f3090a8526249555454714234af50c4c37e6c25ad01432f8e349

Contents?: true

Size: 273 Bytes

Versions: 3

Compression:

Stored size: 273 Bytes

Contents

module HAR
  class Page < SchemaType

    attr_reader :entries

    def initialize(input, entries)
      super(input)
      @entries = entries
    end

    def title
      @data.fetch 'title'
    end

    # a little sugar
    alias_method :timings, :page_timings

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
har-0.0.2 lib/har/page.rb
har-0.0.1 lib/har/page.rb
har-0.0.1.dev lib/har/page.rb