Class: Twilic::Core::Session::SessionOptions
- Inherits:
-
Data
- Object
- Data
- Twilic::Core::Session::SessionOptions
- Defined in:
- lib/twilic/core/session.rb
Instance Attribute Summary collapse
-
#enable_state_patch ⇒ Object
readonly
Returns the value of attribute enable_state_patch.
-
#enable_template_batch ⇒ Object
readonly
Returns the value of attribute enable_template_batch.
-
#enable_trained_dictionary ⇒ Object
readonly
Returns the value of attribute enable_trained_dictionary.
-
#max_base_snapshots ⇒ Object
readonly
Returns the value of attribute max_base_snapshots.
-
#unknown_reference_policy ⇒ Object
readonly
Returns the value of attribute unknown_reference_policy.
Class Method Summary collapse
Instance Attribute Details
#enable_state_patch ⇒ Object (readonly)
Returns the value of attribute enable_state_patch
29 30 31 |
# File 'lib/twilic/core/session.rb', line 29 def enable_state_patch @enable_state_patch end |
#enable_template_batch ⇒ Object (readonly)
Returns the value of attribute enable_template_batch
29 30 31 |
# File 'lib/twilic/core/session.rb', line 29 def enable_template_batch @enable_template_batch end |
#enable_trained_dictionary ⇒ Object (readonly)
Returns the value of attribute enable_trained_dictionary
29 30 31 |
# File 'lib/twilic/core/session.rb', line 29 def enable_trained_dictionary @enable_trained_dictionary end |
#max_base_snapshots ⇒ Object (readonly)
Returns the value of attribute max_base_snapshots
29 30 31 |
# File 'lib/twilic/core/session.rb', line 29 def max_base_snapshots @max_base_snapshots end |
#unknown_reference_policy ⇒ Object (readonly)
Returns the value of attribute unknown_reference_policy
29 30 31 |
# File 'lib/twilic/core/session.rb', line 29 def unknown_reference_policy @unknown_reference_policy end |
Class Method Details
.default ⇒ Object
33 34 35 36 37 38 39 40 41 |
# File 'lib/twilic/core/session.rb', line 33 def self.default new( max_base_snapshots: 8, enable_state_patch: true, enable_template_batch: true, enable_trained_dictionary: true, unknown_reference_policy: UnknownReferencePolicy::FAIL_FAST ) end |