class Epiphy::Repository::Configuration

Configuration class for repository.

Storing Epiphy::Adapter::RethinkDB instance, and RethinkDB run option.

@example

adapter = Epiphy::Adapter::Rethinkdb.new connection
Epiphy::Repository.configure do |config|
  config.adapter = adapter
end

@api private @since 0.0.1

Attributes

adapter[RW]
run_option[RW]

Public Instance Methods

initalize() click to toggle source
# File lib/epiphy/repository/configuration.rb, line 21
def initalize
  @run_option = {
    use_outdated: false,
    time_format: 'native',
    profile: false,
    durability: 'hard',
    group_format: 'native',
    no_reply: false
  }
end