Sha256: 80409b2db456500d4df23f5de63d41f5f4c98d1e5b10d30b56633287a1920344

Contents?: true

Size: 833 Bytes

Versions: 6

Compression:

Stored size: 833 Bytes

Contents

require "delegate"
require "time"
require "securerandom"
require "active_support/core_ext"
require 'active_support/json'
require "active_support/inflector"
require "active_support/lazy_load_hooks"
require "active_support/time_with_zone"
require "active_model"

require 'dynamoid/errors'
require 'dynamoid/attributes'
require 'dynamoid/fields'
require 'dynamoid/indexes'
require 'dynamoid/associations'
require 'dynamoid/persistence'
require 'dynamoid/criteria'
require 'dynamoid/finders'
require 'dynamoid/config'
require 'dynamoid/components'
require 'dynamoid/document'
require 'dynamoid/adapter'

module Dynamoid
  extend self
  
  def configure
    block_given? ? yield(Dynamoid::Config) : Dynamoid::Config
    Dynamoid::Adapter.reconnect!
  end
  alias :config :configure
  
  def logger
    Dynamoid::Config.logger
  end
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dynamoid-0.1.1 lib/dynamoid.rb
dynamoid-0.1.0 lib/dynamoid.rb
dynamoid-0.0.7 lib/dynamoid.rb
dynamoid-0.0.6 lib/dynamoid.rb
dynamoid-0.0.5 lib/dynamoid.rb
dynamoid-0.0.4 lib/dynamoid.rb