Sha256: 274530e1c1e42a67824013d59596d4eb6a1a9a560d8f430bd580902f0af36d3d

Contents?: true

Size: 272 Bytes

Versions: 1

Compression:

Stored size: 272 Bytes

Contents

class Cow
  include DataMapper::Resource

  property :id,        Integer, :key => true
  property :composite, Integer, :key => true
  property :name,      String
  property :breed,     String
  
  def serialize_properties
    {:extra => "Extra", :another => 42}
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dm-serializer-0.9.3 spec/fixtures/cow.rb