Class: Bas::SharedStorage::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/bas/shared_storage/base.rb

Overview

SharedStorage base interface

Direct Known Subclasses

Default, Postgres

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Base

Initializes the read with essential configuration parameters.

[View source]

15
16
17
18
# File 'lib/bas/shared_storage/base.rb', line 15

def initialize(options = {})
  @read_options = options[:read_options] || {}
  @write_options = options[:write_options] || {}
end

Instance Attribute Details

#read_optionsObject (readonly)

Returns the value of attribute read_options.


10
11
12
# File 'lib/bas/shared_storage/base.rb', line 10

def read_options
  @read_options
end

#read_responseObject (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_optionsObject

Returns the value of attribute write_options.


11
12
13
# File 'lib/bas/shared_storage/base.rb', line 11

def write_options
  @write_options
end

#write_responseObject (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

#set_in_processObject

[View source]

20
# File 'lib/bas/shared_storage/base.rb', line 20

def set_in_process; end

#set_processedObject

[View source]

22
# File 'lib/bas/shared_storage/base.rb', line 22

def set_processed; end