Sha256: 1e075b2e1767e605fe289d86088204ee971deeeb9e4af025c2dc9292a8a773a8

Contents?: true

Size: 745 Bytes

Versions: 2

Compression:

Stored size: 745 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::Serializers::JSON
    include ActiveModel::Serializers::Xml
    include Dynamoid::Attributes
    include Dynamoid::Fields
    include Dynamoid::Indexes
    include Dynamoid::Persistence
    include Dynamoid::Finders
    include Dynamoid::Associations
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dynamoid-0.0.3 lib/dynamoid/components.rb
dynamoid-0.0.2 lib/dynamoid/components.rb