class Applitools::BatchInfo

Attributes

name[R]
started_at[R]

Public Class Methods

new(name=nil, started_at = Time.now) click to toggle source
# File lib/eyes_selenium_ruby/eyes/batch_info.rb, line 3
def initialize(name=nil, started_at = Time.now)
  @name = name
  @started_at = started_at
end

Public Instance Methods

to_hash() click to toggle source
# File lib/eyes_selenium_ruby/eyes/batch_info.rb, line 8
def to_hash
  {
    name: name,
    startedAt: started_at.iso8601
  }
end