Sha256: 82d563f64e84034595c477f550a4b717a431abe05e9e1caadd94b7bde430781a

Contents?: true

Size: 301 Bytes

Versions: 8

Compression:

Stored size: 301 Bytes

Contents

module Extface
  class SerialConfig < ActiveRecord::Base
    BOUD_RATES = [2400, 4800, 9600, 19200].freeze
    DATA_LENGTHS = [7, 8].freeze
    PARITY_CHECKS = [0, 1, 2].freeze
    STOP_BITS = [1, 2].freeze
    HANDSHAKE = [0, 1, 2].freeze
    belongs_to :s_configureable, polymorphic: true
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
extface-0.1.0 app/models/extface/serial_config.rb
extface-0.0.8 app/models/extface/serial_config.rb
extface-0.0.7 app/models/extface/serial_config.rb
extface-0.0.6 app/models/extface/serial_config.rb
extface-0.0.5 app/models/extface/serial_config.rb
extface-0.0.3 app/models/extface/serial_config.rb
extface-0.0.2 app/models/extface/serial_config.rb
extface-0.0.1 app/models/extface/serial_config.rb