Sha256: 1da32768bae0f2a3e93508f38786c0c5ba5e0623ed5ba512ceabb103c555119e

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

module Toy
  module Couch
    module Type
      extend ActiveSupport::Concern
      
      module InstanceMethods
        def persisted_attributes
          super.merge("type"=>self.class.name)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toystore-couch-0.1.0 lib/toy/couch/type.rb