Class: PgParty::Config
- Inherits:
-
Object
- Object
- PgParty::Config
- Defined in:
- lib/pg_party/config.rb
Instance Attribute Summary collapse
-
#caching ⇒ Object
Returns the value of attribute caching.
-
#caching_ttl ⇒ Object
Returns the value of attribute caching_ttl.
-
#schema_exclude_partitions ⇒ Object
Returns the value of attribute schema_exclude_partitions.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
10 11 12 13 14 |
# File 'lib/pg_party/config.rb', line 10 def initialize @caching = true @caching_ttl = -1 @schema_exclude_partitions = true end |
Instance Attribute Details
#caching ⇒ Object
Returns the value of attribute caching.
5 6 7 |
# File 'lib/pg_party/config.rb', line 5 def caching @caching end |
#caching_ttl ⇒ Object
Returns the value of attribute caching_ttl.
5 6 7 |
# File 'lib/pg_party/config.rb', line 5 def caching_ttl @caching_ttl end |
#schema_exclude_partitions ⇒ Object
Returns the value of attribute schema_exclude_partitions.
5 6 7 |
# File 'lib/pg_party/config.rb', line 5 def schema_exclude_partitions @schema_exclude_partitions end |