Class: ActiverecordHoarder::Serializer
- Inherits:
-
Object
- Object
- ActiverecordHoarder::Serializer
- Defined in:
- lib/activerecord_hoarder/serializer.rb
Class Method Summary collapse
Class Method Details
.create_archive(batch_data) ⇒ Object
2 3 4 |
# File 'lib/activerecord_hoarder/serializer.rb', line 2 def self.create_archive(batch_data) batch_data.to_json end |
.extension ⇒ Object
6 7 8 |
# File 'lib/activerecord_hoarder/serializer.rb', line 6 def self.extension :json end |