Class: Upkeep::Replay::Collection
- Inherits:
-
Object
- Object
- Upkeep::Replay::Collection
- Includes:
- Payload
- Defined in:
- lib/upkeep/replay.rb
Instance Method Summary collapse
Methods included from Payload
Instance Method Details
#derived_partial? ⇒ Boolean
164 165 166 |
# File 'lib/upkeep/replay.rb', line 164 def derived_partial? partial == "derived" end |
#to_h ⇒ Object
168 169 170 171 172 173 174 175 176 |
# File 'lib/upkeep/replay.rb', line 168 def to_h { type: type, controller_class: controller_class, partial: partial, collection: collection.to_h, options: Replay.value_hash_to_h() }.compact end |
#type ⇒ Object
162 |
# File 'lib/upkeep/replay.rb', line 162 def type = "collection" |