Class: Bas::SharedStorage::Base
- Inherits:
-
Object
- Object
- Bas::SharedStorage::Base
- Defined in:
- lib/bas/shared_storage/base.rb
Overview
SharedStorage base interface
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
-
#initialize(options = {}) ⇒ Base
constructor
Initializes the read with essential configuration parameters.
- #set_in_process ⇒ Object
- #set_processed ⇒ Object
Constructor Details
permalink #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 = [:read_options] || {} @write_options = [:write_options] || {} end |
Instance Attribute Details
permalink #read_options ⇒ Object (readonly)
Returns the value of attribute read_options.
10 11 12 |
# File 'lib/bas/shared_storage/base.rb', line 10 def @read_options end |
permalink #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 |
permalink #write_options ⇒ Object
Returns the value of attribute write_options.
11 12 13 |
# File 'lib/bas/shared_storage/base.rb', line 11 def @write_options end |
permalink #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
permalink #set_in_process ⇒ Object
[View source]
20 |
# File 'lib/bas/shared_storage/base.rb', line 20 def set_in_process; end |
permalink #set_processed ⇒ Object
[View source]
22 |
# File 'lib/bas/shared_storage/base.rb', line 22 def set_processed; end |