Class: StagingTable::Configuration
- Inherits:
-
Object
- Object
- StagingTable::Configuration
- Defined in:
- lib/staging_table/configuration.rb
Instance Attribute Summary collapse
-
#default_batch_size ⇒ Object
Returns the value of attribute default_batch_size.
-
#default_transfer_strategy ⇒ Object
Returns the value of attribute default_transfer_strategy.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/staging_table/configuration.rb', line 7 def initialize @default_batch_size = 1000 @default_transfer_strategy = :insert end |
Instance Attribute Details
#default_batch_size ⇒ Object
Returns the value of attribute default_batch_size.
5 6 7 |
# File 'lib/staging_table/configuration.rb', line 5 def default_batch_size @default_batch_size end |
#default_transfer_strategy ⇒ Object
Returns the value of attribute default_transfer_strategy.
5 6 7 |
# File 'lib/staging_table/configuration.rb', line 5 def default_transfer_strategy @default_transfer_strategy end |