Class: PgParty::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/pg_party/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#cachingObject

Returns the value of attribute caching.



5
6
7
# File 'lib/pg_party/config.rb', line 5

def caching
  @caching
end

#caching_ttlObject

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_partitionsObject

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