Class: GitHub::KV::Config
- Inherits:
-
Object
- Object
- GitHub::KV::Config
- Defined in:
- lib/github/kv/config.rb
Instance Attribute Summary collapse
-
#encapsulated_errors ⇒ Object
Returns the value of attribute encapsulated_errors.
-
#table_name ⇒ Object
Returns the value of attribute table_name.
-
#use_local_time ⇒ Object
Returns the value of attribute use_local_time.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_errors ⇒ Object
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_name ⇒ Object
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_time ⇒ Object
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 |