Class: Upkeep::Replay::Fragment
- Inherits:
-
Object
- Object
- Upkeep::Replay::Fragment
- Includes:
- Payload
- Defined in:
- lib/upkeep/replay.rb
Instance Method Summary collapse
Methods included from Payload
Instance Method Details
#to_h ⇒ Object
149 150 151 152 153 154 155 156 |
# File 'lib/upkeep/replay.rb', line 149 def to_h { type: type, controller_class: controller_class, template: template, locals: Replay.value_hash_to_h(locals) }.compact end |
#type ⇒ Object
147 |
# File 'lib/upkeep/replay.rb', line 147 def type = "fragment" |