lib/yao/resources/floating_ip.rb in yao-0.15.0 vs lib/yao/resources/floating_ip.rb in yao-0.16.0

- old
+ new

@@ -1,10 +1,10 @@ module Yao::Resources class FloatingIP < Base include PortAssociationable - include TenantAssociationable + include ProjectAssociationable friendly_attributes :router_id, :description, :dns_domain, :dns_name, :revision_number, :floating_network_id, :fixed_ip_address, :floating_ip_address, @@ -16,13 +16,7 @@ # @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 end