Class: Gandalf::Seed

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Resource
Defined in:
lib/gandalf/models.rb

Instance Method Summary collapse

Instance Method Details

#to_jsonObject



10
11
12
13
14
15
# File 'lib/gandalf/models.rb', line 10

def to_json
  {:id => id,
   :include_update => include_update,
   :interval_update => interval_update,
   :url => url}.to_json
end