Files
beef/lib/model/http.rb
scotty.b.brown ffa735caff Moving RBeEF to trunk
git-svn-id: https://beef.googlecode.com/svn/trunk@503 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2010-11-11 09:16:11 +00:00

23 lines
544 B
Ruby

module BeEF
module Models
class Http
include DataMapper::Resource
storage_names[:default] = 'http'
property :id, Serial
property :request, Text, :lazy => true
property :response, Text, :lazy => true
property :method, Text, :lazy => false
property :content_length, Text, :lazy => false, :default => 0
property :domain, Text, :lazy => false
property :path, Text, :lazy => false
property :date, DateTime, :lazy => false
property :has_ran, Boolean, :default => false
end
end
end