lib/yao/resources/loadbalancer_healthmonitor.rb in yao-0.18.0 vs lib/yao/resources/loadbalancer_healthmonitor.rb in yao-0.19.0
- old
+ new
@@ -5,9 +5,13 @@
:http_method, :timeout, :max_retries_down,
:url_path, :type, :operating_status
map_attribute_to_resources pools: LoadBalancerListener
+ map_attributes_to_time :created_at, :updated_at
+ alias :created :created_at
+ alias :updated :updated_at
+
# @return [Date]
def created_at
Date.parse(self["created_at"])
end