lib/yao/resources/loadbalancer_healthmonitor.rb in yao-0.3.6 vs lib/yao/resources/loadbalancer_healthmonitor.rb in yao-0.3.7

- old
+ new

@@ -1,6 +1,5 @@ -require 'date' module Yao::Resources class LoadBalancerHealthMonitor < Base friendly_attributes :name, :admin_state_up, :provisioning_status, :delay, :expected_codes, :max_retries, :http_method, :timeout, :max_retries_down, @@ -8,17 +7,9 @@ def pools self["pools"].map do |pool| Yao::LoadBalancerPool.find pool["id"] end - end - - def created_at - Date.parse(self["created_at"]) - end - - def updated_at - Date.parse(self["updated_at"]) end self.service = "load-balancer" self.api_version = "v2.0" self.resource_name = "healthmonitor"