Module: DataMapper::Is::Chef

Defined in:
lib/dm-chef-adapter/adapter.rb

Instance Method Summary collapse

Instance Method Details

#is_chef(options = {}) ⇒ Object



21
22
23
24
# File 'lib/dm-chef-adapter/adapter.rb', line 21

def is_chef(options={})
  require 'dm-serializer'
  property :id, DataMapper::Property::DocId
end