Class: Upkeep::Replay::CollectionMember

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



222
223
224
225
226
227
228
229
230
# File 'lib/upkeep/replay.rb', line 222

def to_h
  {
    type: type,
    controller_class: controller_class,
    partial: partial,
    record: record.to_h,
    options: Replay.value_hash_to_h(options)
  }.compact
end

#typeObject



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

def type = "collection_member"