lib/yao/resources/loadbalancer.rb in yao-0.3.6 vs lib/yao/resources/loadbalancer.rb in yao-0.3.7
- old
+ new
@@ -1,19 +1,9 @@
-require 'date'
-
module Yao::Resources
class LoadBalancer < Base
friendly_attributes :provider, :description, :admin_state_up, :provisioning_status,
:pools, :vip_address,
:operationg_status, :name
-
- def created_at
- Date.parse(self["created_at"])
- end
-
- def updated_at
- Date.parse(self["updated_at"])
- end
def project
Yao::Tenant.find self["project_id"]
end