Sha256: 93a29bf1cc9b3e475a9eaae8a5c694537826126bdaaa3333c33bbc447ec986ba

Contents?: true

Size: 318 Bytes

Versions: 4

Compression:

Stored size: 318 Bytes

Contents

# Yes, this crazy capitalization is intentional,
# to test xml root element name generation
module QuanTum
  class Cat
    include DataMapper::Resource

    property :id, Serial
    property :name, String
    property :location, String

    repository(:alternate) do
      property :is_dead, Boolean
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dm-serializer-0.9.11 spec/fixtures/quan_tum_cat.rb
dm-serializer-0.9.10 spec/fixtures/quan_tum_cat.rb
dm-serializer-0.9.9 spec/fixtures/quan_tum_cat.rb
dm-serializer-0.9.8 spec/fixtures/quan_tum_cat.rb