lib/yao/resources/floating_ip.rb in yao-0.13.4 vs lib/yao/resources/floating_ip.rb in yao-0.14.0
- old
+ new
@@ -12,13 +12,15 @@
self.service = "network"
self.resource_name = "floatingip"
self.resources_name = "floatingips"
+ # @return [Yao::Resources::Router]
def router
@router ||= Yao::Router.get(router_id)
end
+ # @return [Yao::Resources::Tenant]
def project
@project ||= Yao::Tenant.get(project_id)
end
alias :tenant :project
end