poder obtener todos los sensores de una lectura
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-03-21 14:37:03 -03:00
parent 455a00ecc0
commit 212524429f

View file

@ -3,6 +3,7 @@
class Reading < ApplicationRecord class Reading < ApplicationRecord
belongs_to :raspberry belongs_to :raspberry
has_many :arduinos has_many :arduinos
has_many :sensors, through: :arduinos
# @param :public_key [SSHData::PublicKey] # @param :public_key [SSHData::PublicKey]
def verify(public_key) def verify(public_key)