Sha256: a0ba57a370a480426cbbe3f267c84a169e9ff7342263c8a507a989e423af947c
Contents?: true
Size: 499 Bytes
Versions: 6
Compression:
Stored size: 499 Bytes
Contents
module Snapshotar ## # Configuration Class class Configuration ## # Where to store your snapshots? # - +:s3+ for amazon s3 service # - +:file+ local directory attr_accessor :storage_type ## # Provide the models and their attributes to seralize like this: # [[ModelName1, :attribute1, :attribute2,...],[ModelName2, :attribute1]] # attr_accessor :models def initialize #:nodoc: @storage_type = :file @models = [] end end end
Version data entries
6 entries across 6 versions & 1 rubygems