Sha256: 037c1b9800eb2ca42824688a3706a049f37a08d83f080e4e7b834a5d7ae9b0cf

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

require "delegate"
require "time"
require "securerandom"
require "active_support"
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/fields'
require 'dynamoid/indexes'
require 'dynamoid/associations'
require 'dynamoid/persistence'
require 'dynamoid/dirty'
require 'dynamoid/validations'
require 'dynamoid/criteria'
require 'dynamoid/finders'
require 'dynamoid/identity_map'
require 'dynamoid/config'
require 'dynamoid/components'
require 'dynamoid/document'
require 'dynamoid/adapter'

require 'dynamoid/middleware/identity_map'

module Dynamoid
  extend self

  MAX_ITEM_SIZE = 65_536

  def configure
    block_given? ? yield(Dynamoid::Config) : Dynamoid::Config
  end
  alias :config :configure

  def logger
    Dynamoid::Config.logger
  end

  def included_models
    @included_models ||= []
  end

  def adapter
    @adapter ||= Adapter.new
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dynamoid-edge-1.1.2 lib/dynamoid.rb
dynamoid-edge-1.1.1 lib/dynamoid.rb
dynamoid-edge-1.1.0 lib/dynamoid.rb