Class: GitHub::KV::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



6
7
8
9
10
# File 'lib/github/kv/config.rb', line 6

def initialize
  @table_name = 'key_values'
  @encapsulated_errors = [SystemCallError]
  @use_local_time = false
end

Instance Attribute Details

#encapsulated_errorsObject

Returns the value of attribute encapsulated_errors.



4
5
6
# File 'lib/github/kv/config.rb', line 4

def encapsulated_errors
  @encapsulated_errors
end

#table_nameObject

Returns the value of attribute table_name.



4
5
6
# File 'lib/github/kv/config.rb', line 4

def table_name
  @table_name
end

#use_local_timeObject

Returns the value of attribute use_local_time.



4
5
6
# File 'lib/github/kv/config.rb', line 4

def use_local_time
  @use_local_time
end