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

- old
+ new

@@ -1,6 +1,5 @@ -require 'date' module Yao::Resources class LoadBalancerPoolMember < Base friendly_attributes :monitor_port, :name, :weight, :admin_state_up, :provisioning_status, :monitor_address, :address, @@ -10,17 +9,9 @@ Yao::Tenant.find self["project_id"] end def subnet Yao::Subnet.find self["subnet_id"] - 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 = "member"