Sha256: c2fe7a5e955470e99be9e5598bafd483d804f3064e32d1adb58a2e76fb8ea5a2
Contents?: true
Size: 491 Bytes
Versions: 5
Compression:
Stored size: 491 Bytes
Contents
module Yao::Resources class Tenant < Base friendly_attributes :id, :name, :description, :enabled 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.list(name: name) end alias find_by_name get_by_name def accessible as_member { self.list } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems