Class: Upkeep::Replay::ControllerPage

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



119
120
121
122
123
124
125
126
# File 'lib/upkeep/replay.rb', line 119

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

#typeObject



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

def type = "controller_page"