Sha256: 80e809f57b8c938a9517385f0c7a4f6e6eac46917c37ba006e51395e1185656d

Contents?: true

Size: 360 Bytes

Versions: 65

Compression:

Stored size: 360 Bytes

Contents

module PatronusFati
  module MessageModels
    Source = CapStruct.new(
      :interface, :type, :username, :channel, :uuid, :packets, :hop, :velocity,
      :dwell, :hop_time_sec, :hop_time_usec
    )
    Source.set_data_filter(:channel, :dwell, :hop_time_sec, :hop_time_usec,
                           :hop, :packets, :velocity) { |val| val.to_i }
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
patronus_fati-1.3.8 lib/patronus_fati/message_models/source.rb
patronus_fati-1.3.7 lib/patronus_fati/message_models/source.rb
patronus_fati-1.3.6 lib/patronus_fati/message_models/source.rb
patronus_fati-1.3.5 lib/patronus_fati/message_models/source.rb
patronus_fati-1.3.4 lib/patronus_fati/message_models/source.rb
patronus_fati-1.3.3 lib/patronus_fati/message_models/source.rb
patronus_fati-1.3.2 lib/patronus_fati/message_models/source.rb
patronus_fati-1.3.1 lib/patronus_fati/message_models/source.rb
patronus_fati-1.3.0 lib/patronus_fati/message_models/source.rb
patronus_fati-1.2.2 lib/patronus_fati/message_models/source.rb
patronus_fati-1.2.1 lib/patronus_fati/message_models/source.rb
patronus_fati-1.2.0 lib/patronus_fati/message_models/source.rb
patronus_fati-1.1.2 lib/patronus_fati/message_models/source.rb
patronus_fati-1.1.1 lib/patronus_fati/message_models/source.rb
patronus_fati-1.1.0 lib/patronus_fati/message_models/source.rb
patronus_fati-1.0.2 lib/patronus_fati/message_models/source.rb
patronus_fati-1.0.1 lib/patronus_fati/message_models/source.rb
patronus_fati-1.0.0 lib/patronus_fati/message_models/source.rb
patronus_fati-0.9.32 lib/patronus_fati/message_models/source.rb
patronus_fati-0.9.31 lib/patronus_fati/message_models/source.rb