FarmBot/Farmbot-Web-App

View on GitHub
app/models/farmware_env.rb

Summary

Maintainability
A
0 mins
Test Coverage
# User definable key/value pairs, usually used for Farmware authorship.
class FarmwareEnv < ApplicationRecord
  belongs_to :device
  serialize :value
  validates :key, uniqueness: { scope: :device }
end