Module: Dynamoid

Extended by:
Dynamoid
Included in:
Dynamoid
Defined in:
lib/dynamoid/fields.rb,
lib/dynamoid.rb,
lib/dynamoid/config.rb,
lib/dynamoid/errors.rb,
lib/dynamoid/finders.rb,
lib/dynamoid/indexes.rb,
lib/dynamoid/adapter.rb,
lib/dynamoid/criteria.rb,
lib/dynamoid/document.rb,
lib/dynamoid/components.rb,
lib/dynamoid/validations.rb,
lib/dynamoid/persistence.rb,
lib/dynamoid/associations.rb,
lib/dynamoid/adapter/local.rb,
lib/dynamoid/indexes/index.rb,
lib/dynamoid/criteria/chain.rb,
lib/dynamoid/config/options.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/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, Document, Errors, Fields, Finders, Indexes, Persistence, Validations

Constant Summary

MAX_ITEM_SIZE =
65_536

Instance Method Summary (collapse)

Instance Method Details

- (Object) configure Also known as: config



29
30
31
32
# File 'lib/dynamoid.rb', line 29

def configure
  block_given? ? yield(Dynamoid::Config) : Dynamoid::Config
  Dynamoid::Adapter.reconnect!
end

- (Object) included_models



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

def included_models
  @included_models ||= []
end

- (Object) logger



35
36
37
# File 'lib/dynamoid.rb', line 35

def logger
  Dynamoid::Config.logger
end