Sha256: e2a950d079b390a8952fa8c5dd4c0c9b3e6933d0ea6e466a2d168066c630f3e9

Contents?: true

Size: 188 Bytes

Versions: 2

Compression:

Stored size: 188 Bytes

Contents

require 'dm-core'

class ReadOnlyModel

  include DataMapper::Resource

  storage_names[:default] = 'shared_table'

  is :read_only

  property :id, Serial

  property :value, String

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm-is-read_only-0.1.1 spec/classes/read_only_model.rb
dm-is-read_only-0.1.0 spec/classes/read_only_model.rb