Sha256: 39bd71f0f2bc2b4078163857d4ac872abd7cb1d6c7b2acd7bb4f4ea28c4294df

Contents?: true

Size: 813 Bytes

Versions: 3

Compression:

Stored size: 813 Bytes

Contents

# encoding: utf-8
module Dynamoid #:nodoc
  module Components #:nodoc
    extend ActiveSupport::Concern

    # All modules that a +Document+ is composed of are defined in this
    # module, to keep the document class from getting too cluttered.
    included do
      extend ActiveModel::Translation
    end

    include ActiveModel::Conversion
    include ActiveModel::MassAssignmentSecurity
    include ActiveModel::Naming
    include ActiveModel::Observing
    include ActiveModel::Validations
    include ActiveModel::Serializers::JSON
    include ActiveModel::Serializers::Xml
    include Dynamoid::Attributes
    include Dynamoid::Fields
    include Dynamoid::Indexes
    include Dynamoid::Persistence
    include Dynamoid::Finders
    include Dynamoid::Associations
    include Dynamoid::Criteria
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dynamoid-0.1.0 lib/dynamoid/components.rb
dynamoid-0.0.7 lib/dynamoid/components.rb
dynamoid-0.0.6 lib/dynamoid/components.rb