lib/yao/resources/network_associationable.rb in yao-0.13.4 vs lib/yao/resources/network_associationable.rb in yao-0.14.0
- old
+ new
@@ -4,9 +4,10 @@
def self.included(base)
base.friendly_attributes :network_id
end
+ # @return [Yao::Resources::Network]
def network
@tenant ||= Yao::Network.find(network_id)
end
end
end