Class: Upkeep::Replay::ControllerTurboFrame

Inherits:
Object
  • Object
show all
Includes:
Payload
Defined in:
lib/upkeep/replay.rb

Instance Method Summary collapse

Methods included from Payload

empty?, from_h

Instance Method Details

#to_hObject



150
151
152
153
154
155
156
157
158
# File 'lib/upkeep/replay.rb', line 150

def to_h
  {
    type: type,
    controller_class: controller_class,
    action: action,
    env: env,
    target_id: target_id
  }.compact
end

#typeObject



148
# File 'lib/upkeep/replay.rb', line 148

def type = "controller_turbo_frame"