lib/moysklad/entities/feature.rb in moysklad-0.1.3 vs lib/moysklad/entities/feature.rb in moysklad-0.1.4
- old
+ new
@@ -9,7 +9,12 @@
attribute :archived, Boolean
has_many :attributes, Moysklad::Entities::Attribute
has_many :barcodes, Moysklad::Entities::Barcode
+ def good universe
+ cache :good, universe do
+ universe.good.find goodUuid
+ end
+ end
end
end