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



135
136
137
138
139
140
141
142
# File 'lib/upkeep/replay.rb', line 135

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

#typeObject



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

def type = "controller_page"