lib/dynamodb.rb in dynamodb-ruby-0.3.0 vs lib/dynamodb.rb in dynamodb-ruby-0.4.0

- old
+ new

@@ -1,10 +1,27 @@ # frozen_string_literal: true require "dynamodb/version" +require "dynamodb/configuration" require "dynamodb/connection" require "dynamodb/table_actions" module Dynamodb extend Connection extend TableActions + + class << self + attr_accessor :configuration + end + + def self.configuration + @configuration ||= Configuration.new + end + + def self.reset + @configuration = Configuration.new + end + + def self.configure + yield(configuration) + end end