Sha256: 98050996c22a53f5a8d842e2435e683a3869186aac77933df565c4d428889b64

Contents?: true

Size: 920 Bytes

Versions: 2

Compression:

Stored size: 920 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/fields'
require 'dynamoid/indexes'
require 'dynamoid/associations'
require 'dynamoid/persistence'
require 'dynamoid/validations'
require 'dynamoid/criteria'
require 'dynamoid/finders'
require 'dynamoid/config'
require 'dynamoid/components'
require 'dynamoid/document'
require 'dynamoid/adapter'

module Dynamoid
  extend self

  MAX_ITEM_SIZE = 65_536
  
  def configure
    block_given? ? yield(Dynamoid::Config) : Dynamoid::Config
    Dynamoid::Adapter.reconnect!
  end
  alias :config :configure
  
  def logger
    Dynamoid::Config.logger
  end
  
  def included_models
    @included_models ||= []
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dynamoid-0.4.1 lib/dynamoid.rb
dynamoid-0.4.0 lib/dynamoid.rb