Sha256: b56cf77530bf33d89732e32163f4e3e31be438a4070a311f4c718a01e794ef54

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

module Grut
  module Concerns
    module DBTables
      private

      def roles_table
        @roles_table ||= Grut::Config.instance.db_tables[:roles]
      end

      def permissions_table
        @permissions_table ||= Grut::Config.instance.db_tables[:permissions]
      end

      def permission_params_table
        @permission_params_table ||= Grut::Config.instance.db_tables[:permission_params]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grut-0.1.0 lib/grut/concerns/db_tables.rb