Sha256: d31ba7acc599515bd6301748f05960d6c4f5e54ddfcf545e5ead743be71c8ea8

Contents?: true

Size: 346 Bytes

Versions: 8

Compression:

Stored size: 346 Bytes

Contents

module PatronusFati::DataModels
  class ClientSignal
    include DataMapper::Resource

    property :id,           Serial
    property :timestamp,    Integer,  :default => Proc.new { Time.now.to_i },
                                      :required => true
    property :dbm,          Integer,  :required => true

    belongs_to :client
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
patronus_fati-0.8.7 lib/patronus_fati/data_models/client_signal.rb
patronus_fati-0.8.6 lib/patronus_fati/data_models/client_signal.rb
patronus_fati-0.8.5 lib/patronus_fati/data_models/client_signal.rb
patronus_fati-0.8.4 lib/patronus_fati/data_models/client_signal.rb
patronus_fati-0.8.3 lib/patronus_fati/data_models/client_signal.rb
patronus_fati-0.8.2 lib/patronus_fati/data_models/client_signal.rb
patronus_fati-0.8.1 lib/patronus_fati/data_models/client_signal.rb
patronus_fati-0.8.0 lib/patronus_fati/data_models/client_signal.rb