lib/tanita/api/client/base_entity.rb in tanita-api-client-0.5.0 vs lib/tanita/api/client/base_entity.rb in tanita-api-client-0.5.1
- old
+ new
@@ -10,10 +10,10 @@
end
def to_h
ret = {}
self.class.properties.each do |property|
- ret[property.to_sym] = eval property.to_s
+ ret[property.to_sym] = eval property.to_s # rubocop:disable Security/Eval
end
ret
end
def inspect