lib/yao/resources/loadbalancer.rb in yao-0.18.0 vs lib/yao/resources/loadbalancer.rb in yao-0.19.0
- old
+ new
@@ -4,9 +4,13 @@
:vip_address, :operating_status, :name
map_attribute_to_resources listeners: LoadBalancerListener
map_attribute_to_resources pools: LoadBalancerPool
+ map_attributes_to_time :created_at, :updated_at
+ alias :created :created_at
+ alias :updated :updated_at
+
# @return [Yao::Resources::Tenant]
def project
if project_id = self["project_id"]
Yao::Tenant.find project_id
end