Sha256: d57fdab7847d9d4cd66890b211fa7f5aab3a168f6f84fd8abc375aaec2bdec64
Contents?: true
Size: 864 Bytes
Versions: 23
Compression:
Stored size: 864 Bytes
Contents
module PatronusFati::DataModels class Ssid include DataMapper::Resource include PatronusFati::DataModels::ExpirationAttributes include PatronusFati::DataModels::ReportedAttributes property :id, Serial property :beacon_rate, Integer property :beacon_info, String property :cloaked, Boolean, :default => false property :essid, String, :length => 64, :index => true property :crypt_set, CryptFlags property :max_rate, Integer belongs_to :access_point def self.current_expiration_threshold Time.now.to_i - PatronusFati::SSID_EXPIRATION end def full_state { beacon_info: beacon_info, beacon_rate: beacon_rate, cloaked: cloaked, crypt_set: crypt_set, essid: essid, max_rate: max_rate } end end end
Version data entries
23 entries across 23 versions & 1 rubygems