lib/yao/resources/tenant.rb in yao-0.1.0 vs lib/yao/resources/tenant.rb in yao-0.1.1

- old
+ new

@@ -4,13 +4,14 @@ self.service = "identity" self.resource_name = "tenant" self.resources_name = "tenants" self.admin = true + self.return_single_on_querying = true class << self def get_by_name(name) - self.get("", name: name) + self.list(name: name) end alias find_by_name get_by_name def accessible as_member { self.list }