Class: Rundoc::CodeCommand::Website::VisitArgs

Inherits:
Object
  • Object
show all
Defined in:
lib/rundoc/code_command/website/visit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, url: nil, scroll: nil, height: 720, width: 1024, visible: false, max_attempts: 3) ⇒ VisitArgs

Returns a new instance of VisitArgs.



7
8
9
10
11
12
13
14
15
# File 'lib/rundoc/code_command/website/visit.rb', line 7

def initialize(name:, url: nil, scroll: nil, height: 720, width: 1024, visible: false, max_attempts: 3)
  @name = name
  @url = url
  @scroll = scroll
  @height = height
  @width = width
  @visible = visible
  @max_attempts = max_attempts
end

Instance Attribute Details

#heightObject (readonly)

Returns the value of attribute height.



5
6
7
# File 'lib/rundoc/code_command/website/visit.rb', line 5

def height
  @height
end

#max_attemptsObject (readonly)

Returns the value of attribute max_attempts.



5
6
7
# File 'lib/rundoc/code_command/website/visit.rb', line 5

def max_attempts
  @max_attempts
end

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/rundoc/code_command/website/visit.rb', line 5

def name
  @name
end

#scrollObject (readonly)

Returns the value of attribute scroll.



5
6
7
# File 'lib/rundoc/code_command/website/visit.rb', line 5

def scroll
  @scroll
end

#urlObject (readonly)

Returns the value of attribute url.



5
6
7
# File 'lib/rundoc/code_command/website/visit.rb', line 5

def url
  @url
end

#visibleObject (readonly)

Returns the value of attribute visible.



5
6
7
# File 'lib/rundoc/code_command/website/visit.rb', line 5

def visible
  @visible
end

#widthObject (readonly)

Returns the value of attribute width.



5
6
7
# File 'lib/rundoc/code_command/website/visit.rb', line 5

def width
  @width
end