module Liebre::Adapter::Interface

Public Class Methods

included(base) click to toggle source
# File lib/liebre/adapter/interface.rb, line 10
def self.included base
  base.extend(ClassMethods)
end

Public Instance Methods

connection(_config) click to toggle source
# File lib/liebre/adapter/interface.rb, line 14
def connection _config
  raise NotImplementedError, "All adapters must implement connection(config) to build a new connection"
end