lib/yao/resources/loadbalancer_healthmonitor.rb in yao-0.13.4 vs lib/yao/resources/loadbalancer_healthmonitor.rb in yao-0.14.0
- old
+ new
@@ -5,17 +5,20 @@
:http_method, :timeout, :max_retries_down,
:url_path, :type, :operating_status
map_attribute_to_resources pools: LoadBalancerListener
+ # @return [Date]
def created_at
Date.parse(self["created_at"])
end
+ # @return [Date]
def updated_at
Date.parse(self["updated_at"])
end
+ # @return [Date]
def project
if project_id = self["project_id"]
Yao::Tenant.find project_id
end
end