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



184
185
186
187
188
189
190
191
192
# File 'lib/upkeep/replay.rb', line 184

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



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

def type = "collection_member"