Class: MessageStore::Postgres::Settings

Inherits:
Settings
  • Object
show all
Defined in:
lib/message_store/postgres/settings.rb

Defined Under Namespace

Classes: Defaults

Class Method Summary collapse

Class Method Details

.data_sourceObject



8
9
10
# File 'lib/message_store/postgres/settings.rb', line 8

def self.data_source
  Defaults.data_source
end

.instanceObject



4
5
6
# File 'lib/message_store/postgres/settings.rb', line 4

def self.instance
  @instance ||= build
end

.namesObject



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/message_store/postgres/settings.rb', line 12

def self.names
  [
    :host,
    :hostaddr,
    :port,
    :dbname,
    :user,
    :password,
    :passfile,
    :channel_binding,
    :connect_timeout,
    :client_encoding,
    :options,
    :application_name,
    :fallback_application_name,
    :keepalives,
    :keepalives_idle,
    :keepalives_interval,
    :keepalives_count,
    :tcp_user_timeout,
    :replication,
    :database,
    :gssencmode,
    :sslmode,
    :requiressl,
    :sslcompression,
    :sslcert,
    :sslkey,
    :sslpassword,
    :sslrootcert,
    :sslcrl,
    :sslcrldir,
    :sslsni,
    :requirepeer,
    :ssl_min_protocol_version,
    :ssl_max_protocol_version,
    :krbsrvname,
    :gsslib,
    :service,
    :target_session_attrs
  ]
end