Sha256: 257799e0a68faa9a5489e77631ab2235972e9b1a6d2c289b304fd9c7a44cd818

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

module DataMapper
  module Types
    module Fixtures

      class Bookmark
        #
        # Behaviors
        #

        include ::DataMapper::Resource

        #
        # Properties
        #

        property :id, Serial

        property :title,  String, :length => 255
        property :shared, Boolean
        property :uri,    URI
        property :tags,   Yaml

        auto_migrate!
      end # Bookmark
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dm-types-0.10.2 spec/fixtures/bookmark.rb
dm-types-0.10.1 spec/fixtures/bookmark.rb
dm-types-0.10.0 spec/fixtures/bookmark.rb