Module: Dynamoid

Extended by:
Dynamoid
Included in:
Dynamoid
Defined in:
lib/dynamoid/fields.rb,
lib/dynamoid.rb,
lib/dynamoid/dirty.rb,
lib/dynamoid/config.rb,
lib/dynamoid/errors.rb,
lib/dynamoid/finders.rb,
lib/dynamoid/indexes.rb,
lib/dynamoid/adapter.rb,
lib/dynamoid/document.rb,
lib/dynamoid/criteria.rb,
lib/dynamoid/components.rb,
lib/dynamoid/persistence.rb,
lib/dynamoid/validations.rb,
lib/dynamoid/associations.rb,
lib/dynamoid/identity_map.rb,
lib/dynamoid/indexes/index.rb,
lib/dynamoid/config/options.rb,
lib/dynamoid/criteria/chain.rb,
lib/dynamoid/adapter/aws_sdk.rb,
lib/dynamoid/associations/has_one.rb,
lib/dynamoid/associations/has_many.rb,
lib/dynamoid/associations/belongs_to.rb,
lib/dynamoid/middleware/identity_map.rb,
lib/dynamoid/associations/association.rb,
lib/dynamoid/associations/many_association.rb,
lib/dynamoid/associations/single_association.rb,
lib/dynamoid/associations/has_and_belongs_to_many.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Adapter, Associations, Components, Config, Criteria, Dirty, Document, Errors, Fields, Finders, IdentityMap, Indexes, Middleware, Persistence, Validations

Constant Summary

MAX_ITEM_SIZE =
65_536

Instance Method Summary (collapse)

Instance Method Details

- (Object) configure Also known as: config



33
34
35
# File 'lib/dynamoid.rb', line 33

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

- (Object) included_models



42
43
44
# File 'lib/dynamoid.rb', line 42

def included_models
  @included_models ||= []
end

- (Object) logger



38
39
40
# File 'lib/dynamoid.rb', line 38

def logger
  Dynamoid::Config.logger
end