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