lib/yao/resources/tenant.rb in yao-0.6.3 vs lib/yao/resources/tenant.rb in yao-0.7.0
- old
+ new
@@ -23,14 +23,9 @@
def meters_by_name(meter_name)
meters.select{|m| m.name == meter_name}
end
class << self
- def get_by_name(name)
- self.list(name: name)
- end
- alias find_by_name get_by_name
-
def accessible
as_member { self.list }
end
end
end