Sha256: f5b92ba6506bf8a334a41a0278668b50928642224fb095efbdbbe1af8a7bd3df
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
module Xporter class Exporter module Settings extend ActiveSupport::Concern included do class_attribute :_columns, instance_accessor: false class_attribute :_resource_class, instance_accessor: false class_attribute :_record_transform, instance_accessor: false class_attribute :_batch_size, instance_accessor: false self._columns = [] self._batch_size = 500.freeze end def columns self.class._columns end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xporter-0.2.0 | lib/xporter/exporter/settings.rb |
xporter-0.1.0 | lib/xporter/exporter/settings.rb |