Sha256: 11d9cea77e2ec4f75cb1032f120f4a9a082748e63c8b4490d2e9d2fe93ff96d8
Contents?: true
Size: 390 Bytes
Versions: 22
Compression:
Stored size: 390 Bytes
Contents
# Public: proxy object to handle model Class as a resource module Garage class MetaResource include Garage::Authorizable attr_reader :resource_class def initialize(resource_class, args = {}) @resource_class = resource_class @args = args end def build_permissions(perms, user) resource_class.build_permissions(perms, user, @args) end end end
Version data entries
22 entries across 22 versions & 1 rubygems