lib/yao/resources/loadbalancer_pool.rb in yao-0.18.0 vs lib/yao/resources/loadbalancer_pool.rb in yao-0.19.0

- old
+ new

@@ -5,9 +5,13 @@ :session_persistence, :operating_status, :name map_attribute_to_resources loadbalancers: LoadBalancer map_attribute_to_resources listeners: LoadBalancerListener + map_attributes_to_time :created_at, :updated_at + alias :created :created_at + alias :updated :updated_at + # @return [Yao::Resources::LoadBalancerListener] def listeners @listeners ||= self["listeners"].map do |listener| Yao::LoadBalancerListener.get(listener["id"]) end