Class: Bas::SharedStorage::Base
- Inherits:
-
Object
- Object
- Bas::SharedStorage::Base
- Defined in:
- lib/bas/shared_storage/base.rb
Overview
SharedStorage base interface
Direct Known Subclasses
Instance Attribute Summary collapse
-
#read_options ⇒ Object
readonly
Returns the value of attribute read_options.
-
#read_response ⇒ Object
readonly
Returns the value of attribute read_response.
-
#write_options ⇒ Object
Returns the value of attribute write_options.
-
#write_response ⇒ Object
readonly
Returns the value of attribute write_response.
Instance Method Summary collapse
- #close_connections ⇒ Object
-
#initialize(options = {}) ⇒ Base
constructor
Initializes the read with essential configuration parameters.
- #set_in_process ⇒ Object
- #set_processed ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Base
Initializes the read with essential configuration parameters.
15 16 17 18 |
# File 'lib/bas/shared_storage/base.rb', line 15 def initialize( = {}) = [:read_options] || {} = [:write_options] || {} end |
Instance Attribute Details
#read_options ⇒ Object (readonly)
Returns the value of attribute read_options.
10 11 12 |
# File 'lib/bas/shared_storage/base.rb', line 10 def end |
#read_response ⇒ Object (readonly)
Returns the value of attribute read_response.
10 11 12 |
# File 'lib/bas/shared_storage/base.rb', line 10 def read_response @read_response end |
#write_options ⇒ Object
Returns the value of attribute write_options.
11 12 13 |
# File 'lib/bas/shared_storage/base.rb', line 11 def end |
#write_response ⇒ Object (readonly)
Returns the value of attribute write_response.
10 11 12 |
# File 'lib/bas/shared_storage/base.rb', line 10 def write_response @write_response end |
Instance Method Details
#close_connections ⇒ Object
24 |
# File 'lib/bas/shared_storage/base.rb', line 24 def close_connections; end |
#set_in_process ⇒ Object
20 |
# File 'lib/bas/shared_storage/base.rb', line 20 def set_in_process; end |
#set_processed ⇒ Object
22 |
# File 'lib/bas/shared_storage/base.rb', line 22 def set_processed; end |