class Applitools::MouseTrigger
Constants
- MouseAction
Attributes
control[R]
location[R]
mouse_action[R]
Public Class Methods
new(mouse_action, control, location)
click to toggle source
# File lib/eyes_selenium_ruby/eyes/mouse_trigger.rb, line 7 def initialize(mouse_action, control, location) @mouse_action = MouseAction[mouse_action] @control = control @location = location end
Public Instance Methods
to_hash()
click to toggle source
# File lib/eyes_selenium_ruby/eyes/mouse_trigger.rb, line 13 def to_hash { "$type" => "Applitools.Models.MouseTrigger, Core", mouseAction: mouse_action, control: control.to_hash, location: Hash[location.each_pair.to_a] } end