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
179 180 181 |
# File 'lib/upkeep/replay.rb', line 179 def derived_partial? partial == "derived" end |
#to_h ⇒ Object
183 184 185 186 187 188 189 190 191 |
# File 'lib/upkeep/replay.rb', line 183 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
177 |
# File 'lib/upkeep/replay.rb', line 177 def type = "collection" |