lib/yao/resources/tenant.rb in yao-0.14.0 vs lib/yao/resources/tenant.rb in yao-0.15.0

- old
+ new

@@ -28,9 +28,14 @@ # @return [Array<Yao::Resources::Meter>] def meters_by_name(meter_name) meters.select{|m| m.name == meter_name} end + # @return [Yao::Resources::RoleAssignment] + def role_assignment + Yao::RoleAssignment.get(tenant: id) + end + class << self def accessible as_member { self.list } end end