Class: Csb::Configuration
- Inherits:
-
Object
- Object
- Csb::Configuration
- Defined in:
- lib/csb/configuration.rb
Instance Attribute Summary collapse
-
#after_streaming_error ⇒ Object
Returns the value of attribute after_streaming_error.
-
#ignore_class_names ⇒ Object
Returns the value of attribute ignore_class_names.
-
#streaming ⇒ Object
Returns the value of attribute streaming.
-
#utf8_bom ⇒ Object
Returns the value of attribute utf8_bom.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/csb/configuration.rb', line 5 def initialize @utf8_bom = false @streaming = true @ignore_class_names = %w[Puma::ConnectionError] end |
Instance Attribute Details
#after_streaming_error ⇒ Object
Returns the value of attribute after_streaming_error.
3 4 5 |
# File 'lib/csb/configuration.rb', line 3 def after_streaming_error @after_streaming_error end |
#ignore_class_names ⇒ Object
Returns the value of attribute ignore_class_names.
3 4 5 |
# File 'lib/csb/configuration.rb', line 3 def ignore_class_names @ignore_class_names end |
#streaming ⇒ Object
Returns the value of attribute streaming.
3 4 5 |
# File 'lib/csb/configuration.rb', line 3 def streaming @streaming end |
#utf8_bom ⇒ Object
Returns the value of attribute utf8_bom.
3 4 5 |
# File 'lib/csb/configuration.rb', line 3 def utf8_bom @utf8_bom end |